Class BySetPosRule

  • All Implemented Interfaces:

    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>
        dates - a calendar object to transform
        a transformed calendar object