Class ByMonthRule<T extends Temporal>
- java.lang.Object
-
- net.fortuna.ical4j.transform.recurrence.ByMonthRule<T>
-
- All Implemented Interfaces:
Serializable
,Transformer<List<T>>
public class ByMonthRule<T extends Temporal> extends Object
Applies BYMONTH rules specified in this Recur instance to the specified date list. If no BYMONTH rules are specified the date list is returned unmodified. Valid temporal types for this rule include:ZonedDateTime
,LocalDateTime
andLocalDate
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ByMonthRule(List<Month> monthList, Frequency frequency)
ByMonthRule(List<Month> monthList, 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
-
-