Class BySetPosRule<T extends Temporal>

  • All Implemented Interfaces:
    Transformer<List<T>>

    public class BySetPosRule<T extends Temporal>
    extends Object
    implements Transformer<List<T>>
    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​(List<Integer> setPosList)
    • 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.
        Specified by:
        transform in interface Transformer<T extends Temporal>
        Parameters:
        dates - a calendar object to transform
        Returns:
        a transformed calendar object