Class BySetPosRule

  • All Implemented Interfaces:
    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 Detail

      • BySetPosRule

        public BySetPosRule​(NumberList setPosList)
    • Method Detail

      • 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