Class ByMonthDayRule<T extends Temporal>
- java.lang.Object
-
- net.fortuna.ical4j.transform.recurrence.ByMonthDayRule<T>
-
- All Implemented Interfaces:
Serializable
,Transformer<List<T>>
public class ByMonthDayRule<T extends Temporal> extends Object
Applies BYMONTHDAY rules specified in this Recur instance to the specified date list. If no BYMONTHDAY rules are specified the date list is returned unmodified. NOTE: For now BYMONTHDAY is not compatible with Instant temporal type. This is because this rule requires a year-month value which is not available from Instant temporal type.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByMonthDayRule(List<Integer> monthDayList, Frequency frequency)
ByMonthDayRule(List<Integer> monthDayList, Frequency frequency, Recur.Skip skip)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
transform(List<T> dates)
Transforms the specified calendar object according to the implementation of this method.
-
-
-
Method Detail
-
transform
public List<T> transform(List<T> dates)
Description copied from interface:Transformer
Transforms the specified calendar object according to the implementation of this method.- Parameters:
dates
- a calendar object to transform- Returns:
- a transformed calendar object
-
-