Class TimeUtil


  • public class TimeUtil
    extends Object
    Time related utilities.
    Author:
    K. Benedyczak
    • Constructor Detail

      • TimeUtil

        public TimeUtil()
    • Method Detail

      • formatMediumInstant

        public static String formatMediumInstant​(Instant instant)
        Parameters:
        instant -
        Returns:
        instant formated as a string with medium size in the current timezone
      • formatStandardInstant

        public static String formatStandardInstant​(Instant instant)
      • formatStandardInstantWithNano

        public static String formatStandardInstantWithNano​(Instant instant)