public class CmsGallerySearchParameters.CmsGallerySearchTimeRange
extends java.lang.Object
| 构造器和说明 |
|---|
CmsGallerySearchParameters.CmsGallerySearchTimeRange()
Default constructor.
|
CmsGallerySearchParameters.CmsGallerySearchTimeRange(long startTime,
long endTime)
Constructor with start and end time.
|
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getEndTime()
Returns the end time of the time range.
|
long |
getStartTime()
Returns the start time of the time range.
|
public CmsGallerySearchParameters.CmsGallerySearchTimeRange()
This will create an object where the start date is equal to
Long.MIN_VALUE and the end date is equal to Long.MAX_VALUE.
public CmsGallerySearchParameters.CmsGallerySearchTimeRange(long startTime,
long endTime)
startTime - the start time of the time rangeendTime - the end time of the time range