public class TimePeriod extends Object
| Constructor and Description |
|---|
TimePeriod() |
TimePeriod(int timeFrameType,
int timeRangeValue,
int timeUnitValue,
Date timeFromValue,
Date timeToValue) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getPeriodEnd() |
Date |
getPeriodStart() |
int |
getTimeFrameType() |
Date |
getTimeFromValue() |
int |
getTimeRangeValue() |
Date |
getTimeToValue() |
int |
getTimeUnitValue() |
boolean |
isBackFromNow() |
void |
setTimeFrameType(int timeFrameType) |
void |
setTimeFromValue(Date timeFromValue) |
void |
setTimeRangeValue(int timeRangeValue) |
void |
setTimeToValue(Date timeToValue) |
void |
setTimeUnitValue(int timeUnitValue) |
public TimePeriod(int timeFrameType,
int timeRangeValue,
int timeUnitValue,
Date timeFromValue,
Date timeToValue)
public TimePeriod()
public boolean isBackFromNow()
public int getTimeFrameType()
public void setTimeFrameType(int timeFrameType)
timeFrameType - the timeFrameType to setpublic int getTimeRangeValue()
public void setTimeRangeValue(int timeRangeValue)
timeRangeValue - the timeRangeValue to setpublic int getTimeUnitValue()
public void setTimeUnitValue(int timeUnitValue)
timeUnitValue - the timeUnitValue to setpublic Date getTimeFromValue()
public void setTimeFromValue(Date timeFromValue)
timeFromValue - the timeFromValue to setpublic Date getTimeToValue()
public void setTimeToValue(Date timeToValue)
timeToValue - the timeToValue to setpublic Date getPeriodStart()
public Date getPeriodEnd()
Copyright © 2017. All rights reserved.