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 asDate
objects, sorted ascendingly.Returns all dates of the whole series in milliseconds, sorted ascendingly.Returns the duration of a single event in milliseconds, ornull
if no end date is specified.Returns all exceptions from the series, sorted ascendingly.boolean
Returns a flag, indicating if the series has more dates than allowed.
-
Method Details
-
getDates
Returns all dates of the whole series asDate
objects, sorted ascendingly.- Returns:
- all dates of the whole series as
Date
objects, 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, ornull
if no end date is specified.- Returns:
- the duration of a single event in milliseconds, or
null
if 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.
-