Class TimeToChronoUnitConverter


  • public final class TimeToChronoUnitConverter
    extends Object
    Provides functionality to convert TimeUnits to ChronoUnits.
    • Method Detail

      • of

        public static ChronoUnit of​(TimeUnit unit)
        Returns the ChronoUnit representing the argument TimeUnit.
        Parameters:
        unit - the time unit to convert
        Returns:
        the chrono unit