|Constructor and Description|
Constructs the bean with all the information provided by the
|Modifier and Type||Method and Description|
Generates the first date of the series.
Check, if the series can have at least one event/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 CmsSerialDateBeanMonthlyWeeks(java.util.Date startDate, java.util.Date endDate, boolean isWholeDay, I_CmsSerialDateValue.EndType endType, java.util.Date serialEndDate, int occurrences, java.util.SortedSet<java.util.Date> exceptions, int interval, java.util.SortedSet<I_CmsSerialDateValue.WeekOfMonth> weeksOfMonth, I_CmsSerialDateValue.WeekDay weekDay)
startDate- the start date of the series as provided by the serial date widget.
endDate- the end date of the series as provided by the serial date widget.
isWholeDay- flag, indicating if the event lasts the whole day
endType- the end type of the series as provided by the serial date widget.
serialEndDate- the end date of the series as provided by the serial date widget.
occurrences- the maximal number of occurrences of the event as provided by the serial date widget.
exceptions- dates where the event does not take place, even if it is in the series.
interval- the number of month to the next events.
weeksOfMonth- the weeks in the month the event should take place, e.g., the first and the third week.
weekDay- the weekday on which the event should occur
protected java.util.Calendar getFirstDate()
protected boolean isAnyDatePossible()
protected void toNextDate(java.util.Calendar date)
date- the current event date for a event in the series, which is adjusted to the next date potentially in the series.