public class CmsSerialDateBeanSingle extends A_CmsSerialDateBean
m_allDates, m_dates, m_datesInMillis, m_endDate, m_endMillis, m_endType, m_exceptions, m_occurrences, m_serialEndDate, m_startDate, MAX_OCCURRENCES
Constructor and Description |
---|
CmsSerialDateBeanSingle(java.util.Date startDate,
java.util.Date endDate,
boolean isWholeDay)
Constructor for the serial date bean for single events.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Calendar |
getFirstDate()
Generates the first date of the series.
|
protected boolean |
isAnyDatePossible()
Check, if the series can have at least one event/date.
|
protected void |
toNextDate(java.util.Calendar date)
Starting with a date that's in the series, the next date is created.
|
getDates, getDatesAsLong, getEventDuration, getExceptions, getOccurrences, getSerialEndDate, getSerialEndType, getStartDate, hasTooManyDates, showMoreEntries
public CmsSerialDateBeanSingle(java.util.Date startDate, java.util.Date endDate, boolean isWholeDay)
startDate
- the start date of the single event.endDate
- the end date of the single event.isWholeDay
- flag, indicating if the event lasts the whole day.protected java.util.Calendar getFirstDate()
A_CmsSerialDateBean
getFirstDate
in class A_CmsSerialDateBean
A_CmsSerialDateBean.getFirstDate()
protected boolean isAnyDatePossible()
A_CmsSerialDateBean
isAnyDatePossible
in class A_CmsSerialDateBean
true
if the series can be non-empty, false
otherwise.A_CmsSerialDateBean.isAnyDatePossible()
protected void toNextDate(java.util.Calendar date)
A_CmsSerialDateBean
toNextDate
in class A_CmsSerialDateBean
date
- the current event date for a event in the series, which is adjusted to the next date potentially in the series.A_CmsSerialDateBean.toNextDate(java.util.Calendar)