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 theCmsSerialDateWidget
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.SortedSet<java.util.Date>
getDates()
Returns all dates of the whole series asDate
objects, sorted ascendingly.java.util.SortedSet<java.lang.Long>
getDatesAsLong()
Returns all dates of the whole series in milliseconds, sorted ascendingly.java.lang.Long
getEventDuration()
Returns the duration of a single event in milliseconds, ornull
if no end date is specified.java.util.SortedSet<java.util.Date>
getExceptions()
Returns all exceptions from the series, sorted ascendingly.boolean
hasTooManyDates()
Returns a flag, indicating if the series has more dates than allowed.
-
-
-
Method Detail
-
getDates
java.util.SortedSet<java.util.Date> 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
java.util.SortedSet<java.lang.Long> getDatesAsLong()
Returns all dates of the whole series in milliseconds, sorted ascendingly.- Returns:
- all dates of the whole series in milliseconds, sorted ascendingly.
-
getEventDuration
java.lang.Long 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
java.util.SortedSet<java.util.Date> 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.
-
-