Package org.opencms.widgets.serialdate
Interface I_CmsSerialDateBean
- All Known Implementing Classes:
A_CmsSerialDateBean,CmsSerialDateBeanDaily,CmsSerialDateBeanIndividual,CmsSerialDateBeanMonthly,CmsSerialDateBeanMonthlyWeeks,CmsSerialDateBeanSingle,CmsSerialDateBeanWeekly,CmsSerialDateBeanWorkingDays,CmsSerialDateBeanYearly,CmsSerialDateBeanYearlyWeekday
public interface I_CmsSerialDateBean
Interface for serial date beans.
Serial date beans allow easy access to values stored by the
CmsSerialDateWidget.-
Method Summary
Modifier and TypeMethodDescriptiongetDates()Returns all dates of the whole series asDateobjects, sorted ascendingly.Returns all dates of the whole series in milliseconds, sorted ascendingly.Returns the duration of a single event in milliseconds, ornullif no end date is specified.Returns all exceptions from the series, sorted ascendingly.booleanReturns a flag, indicating if the series has more dates than allowed.
-
Method Details
-
getDates
Returns all dates of the whole series asDateobjects, sorted ascendingly.- Returns:
- all dates of the whole series as
Dateobjects, sorted ascendingly.
-
getDatesAsLong
Returns all dates of the whole series in milliseconds, sorted ascendingly.- Returns:
- all dates of the whole series in milliseconds, sorted ascendingly.
-
getEventDuration
Returns the duration of a single event in milliseconds, ornullif no end date is specified.- Returns:
- the duration of a single event in milliseconds, or
nullif no end date is specified.
-
getExceptions
Returns all exceptions from the series, sorted ascendingly.- Returns:
- all exceptions from the series, sorted ascendingly.
-
hasTooManyDates
boolean hasTooManyDates()Returns a flag, indicating if the series has more dates than allowed.- Returns:
- a flag, indicating if the series has more dates than allowed.
-