Class TransformProviderUtils


  • public class TransformProviderUtils
    extends Object
    Utility for Transform providers.
    Since:
    9.2
    Author:
    Luc Maisonobe
    • Method Detail

      • getReversedProvider

        public static TransformProvider getReversedProvider​(TransformProvider provider)
        Reverse a transform provider.
        Parameters:
        provider - provider to reverse
        Returns:
        a new provider which provide a transform similar to provider.getTransform(date).getInverse()
      • getCombinedProvider

        public static TransformProvider getCombinedProvider​(TransformProvider first,
                                                            TransformProvider second)
        Combine two transform providers.
        Parameters:
        first - first provider to apply
        second - second provider to apply
        Returns:
        a new provider which provide a transform similar to new Transform(date, first.getTransform(date), second.getTransform(date))