Class Durations

    • Method Detail

      • elapsedSince

        public static Duration elapsedSince​(Instant start)
        Calculates the duration between a given Instant and the current one.
        Parameters:
        start - a given instant
        Returns:
        the duration between a given Instant and the current one