Class BySetPosRule

java.lang.Object
net.fortuna.ical4j.transform.recurrence.BySetPosRule
All Implemented Interfaces:
Function<DateList,DateList>, UnaryOperator<DateList>, Transformer<DateList>

public class BySetPosRule extends Object implements Transformer<DateList>
Applies BYSETPOS rules to dates. Valid positions are from 1 to the size of the date list. Invalid positions are ignored.
  • Constructor Details

    • BySetPosRule

      public BySetPosRule(NumberList setPosList)
  • Method Details

    • transform

      public DateList transform(DateList dates)
      Description copied from interface: Transformer
      Transforms the specified calendar object according to the implementation of this method.
      Specified by:
      transform in interface Transformer<DateList>
      Parameters:
      dates - a calendar object to transform
      Returns:
      a transformed calendar object