public interface I_CmsSerialDateValue
| Modifier and Type | Interface and Description |
|---|---|
static class |
I_CmsSerialDateValue.DateType
Different types of serial dates.
|
static class |
I_CmsSerialDateValue.EndType
Different types of conditions how serial dates can end.
|
static class |
I_CmsSerialDateValue.JsonKey
The JSON keys used in the JSON representation of serial date specifications.
|
static class |
I_CmsSerialDateValue.Month
Months as enumeration.
|
static class |
I_CmsSerialDateValue.PatternType
Type of the series.
|
static class |
I_CmsSerialDateValue.WeekDay
Enumeration representing the week days.
|
static class |
I_CmsSerialDateValue.WeekOfMonth
Possible weeks of a month.
|
| Modifier and Type | Field and Description |
|---|---|
static long |
DAY_IN_MILLIS
Constant for the milliseconds of a day.
|
static int |
NUM_OF_WEEKDAYS
The number of weekdays (seven).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
endsAtMidNight()
Returns a flag, indicating if the event ends at midnight.
|
I_CmsSerialDateValue.DateType |
getDateType()
Returns the type of the specified date.
|
int |
getDayOfMonth()
Returns the day of the month, the events should take place.
|
java.util.Date |
getEnd()
Returns the end time of the events.
|
I_CmsSerialDateValue.EndType |
getEndType()
Returns the end type of the event series.
|
java.util.SortedSet<java.util.Date> |
getExceptions()
Returns the dates, where the event should not take place.
|
java.util.SortedSet<java.util.Date> |
getIndividualDates()
Returns the dates of an individual date series.
|
int |
getInterval()
Returns the pattern type specific interval of the event.
|
I_CmsSerialDateValue.Month |
getMonth()
Returns the month in which the events take place.
|
int |
getOccurrences()
Returns the number of occurrences of the event.
|
CmsUUID |
getParentSeriesId()
Returns the uuid of the content that holds the series, the current event was extracted from.
|
I_CmsSerialDateValue.PatternType |
getPatternType()
Returns the pattern type of the event series.
|
java.util.Date |
getSeriesEndDate()
Returns the date of the last day, events of the series should take place.
|
java.util.Date |
getStart()
Returns the start time of the events.
|
I_CmsSerialDateValue.WeekDay |
getWeekDay()
Returns the week day where the event should take place.
|
java.util.SortedSet<I_CmsSerialDateValue.WeekDay> |
getWeekDays()
Returns the week days where the event should take place.
|
I_CmsSerialDateValue.WeekOfMonth |
getWeekOfMonth()
Returns the week of the month, the event should take place.
|
java.util.SortedSet<I_CmsSerialDateValue.WeekOfMonth> |
getWeeksOfMonth()
Returns the weeks of the month, the event should take place.
|
boolean |
isCurrentTillEnd()
Returns a flag, indicating if the events should be treated as "current" till they end (or only till they start).
|
boolean |
isEveryWorkingDay()
Returns a flag, indicating if the event should take place every working day.
|
boolean |
isFromOtherSeries()
Returns a flag, indicating if the event is extracted from another series.
|
boolean |
isValid()
Returns a flag, indicating if the value specifies a valid date (series).
|
boolean |
isWholeDay()
Returns a flag, indicating if the event last the whole day/whole days.
|
static final long DAY_IN_MILLIS
static final int NUM_OF_WEEKDAYS
boolean endsAtMidNight()
I_CmsSerialDateValue.DateType getDateType()
int getDayOfMonth()
java.util.Date getEnd()
I_CmsSerialDateValue.EndType getEndType()
java.util.SortedSet<java.util.Date> getExceptions()
java.util.SortedSet<java.util.Date> getIndividualDates()
int getInterval()
I_CmsSerialDateValue.Month getMonth()
int getOccurrences()
CmsUUID getParentSeriesId()
null if the current event series was not extracted from another one.null, if the event is not extracted from another event series.I_CmsSerialDateValue.PatternType getPatternType()
java.util.Date getSeriesEndDate()
java.util.Date getStart()
I_CmsSerialDateValue.WeekDay getWeekDay()
java.util.SortedSet<I_CmsSerialDateValue.WeekDay> getWeekDays()
I_CmsSerialDateValue.WeekOfMonth getWeekOfMonth()
java.util.SortedSet<I_CmsSerialDateValue.WeekOfMonth> getWeeksOfMonth()
boolean isCurrentTillEnd()
true if the event is "current" till it ends, false if it is current till it starts.boolean isEveryWorkingDay()
boolean isFromOtherSeries()
boolean isValid()
boolean isWholeDay()