Package org.opencms.widgets.serialdate
Class CmsSerialDateBeanWorkingDays
java.lang.Object
org.opencms.widgets.serialdate.A_CmsSerialDateBean
org.opencms.widgets.serialdate.CmsSerialDateBeanWorkingDays
- All Implemented Interfaces:
- I_CmsSerialDateBean
Implementation of @{link org.opencms.widgets.serialdate.I_CmsSerialDateBean}
 that handles series' specified on a daily base.
- 
Field SummaryFields inherited from class org.opencms.widgets.serialdate.A_CmsSerialDateBeanm_allDates, m_dates, m_datesInMillis, m_endDate, m_endMillis, m_endType, m_exceptions, m_occurrences, m_serialEndDate, m_startDate, MAX_OCCURRENCES
- 
Constructor SummaryConstructorsConstructorDescriptionCmsSerialDateBeanWorkingDays(Date startDate, Date endDate, boolean isWholeDay, I_CmsSerialDateValue.EndType endType, Date serialEndDate, int occurrences, SortedSet<Date> exceptions) Constructs the bean with all the information provided by theCmsSerialDateWidget.
- 
Method SummaryModifier and TypeMethodDescriptionprotected CalendarGenerates the first date of the series.protected booleanCheck, if the series can have at least one event/date.protected voidtoNextDate(Calendar date) Starting with a date that's in the series, the next date is created.Methods inherited from class org.opencms.widgets.serialdate.A_CmsSerialDateBeangetDates, getDatesAsLong, getEventDuration, getExceptions, getOccurrences, getSerialEndDate, getSerialEndType, getStartDate, hasTooManyDates, showMoreEntries
- 
Constructor Details
- 
Method Details- 
getFirstDateDescription copied from class:A_CmsSerialDateBeanGenerates the first date of the series.- Specified by:
- getFirstDatein class- A_CmsSerialDateBean
- Returns:
- the first date of the series.
- See Also:
 
- 
isAnyDatePossibleDescription copied from class:A_CmsSerialDateBeanCheck, if the series can have at least one event/date.- Specified by:
- isAnyDatePossiblein class- A_CmsSerialDateBean
- Returns:
- trueif the series can be non-empty,- falseotherwise.
- See Also:
 
- 
toNextDateDescription copied from class:A_CmsSerialDateBeanStarting with a date that's in the series, the next date is created.- Specified by:
- toNextDatein class- A_CmsSerialDateBean
- Parameters:
- date- the current event date for a event in the series, which is adjusted to the next date potentially in the series.
- See Also:
 
 
-