Class TimeUtil

java.lang.Object
pl.edu.icm.unity.engine.api.utils.TimeUtil

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

    • TimeUtil

      public TimeUtil()
  • Method Details

    • 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)