Class TimeUtil


  • public class TimeUtil
    extends java.lang.Object
    Time related utilities.
    Author:
    K. Benedyczak
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatMediumInstant​(java.time.Instant instant)  
      static java.lang.String formatStandardInstant​(java.time.Instant instant)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TimeUtil

        public TimeUtil()
    • Method Detail

      • formatMediumInstant

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

        public static java.lang.String formatStandardInstant​(java.time.Instant instant)