Interface TimeShiftable<T extends TimeShiftable<T>>

    • Method Detail

      • shiftedBy

        T shiftedBy​(double dt)
        Get a time-shifted instance.
        Parameters:
        dt - time shift in seconds
        Returns:
        a new instance, shifted with respect to instance (which is not changed)
      • shiftedBy

        default T shiftedBy​(TimeOffset dt)
        Get a time-shifted instance.
        Parameters:
        dt - time shift
        Returns:
        a new instance, shifted with respect to instance (which is not changed)
        Since:
        13.0