Class ByDayRule
java.lang.Object
net.fortuna.ical4j.transform.recurrence.AbstractDateExpansionRule
net.fortuna.ical4j.transform.recurrence.ByDayRule
- All Implemented Interfaces:
Serializable,Function<DateList,,DateList> UnaryOperator<DateList>,Transformer<DateList>
Applies BYDAY rules specified in this Recur instance to the specified date list. If no BYDAY rules are specified
the date list is returned unmodified.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionByDayRule(WeekDayList dayList, Recur.Frequency frequency) ByDayRule(WeekDayList dayList, Recur.Frequency frequency, Optional<WeekDay.Day> weekStartDay) -
Method Summary
Methods inherited from class net.fortuna.ical4j.transform.recurrence.AbstractDateExpansionRule
getCalendarInstance, getFrequency, getTimeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.transform.Transformer
apply
-
Constructor Details
-
ByDayRule
-
ByDayRule
public ByDayRule(WeekDayList dayList, Recur.Frequency frequency, Optional<WeekDay.Day> weekStartDay)
-
-
Method Details
-
transform
Description copied from interface:TransformerTransforms the specified calendar object according to the implementation of this method.- Parameters:
dates- a calendar object to transform- Returns:
- a transformed calendar object
-