Class TimeUtil
java.lang.Object
pl.edu.icm.unity.engine.api.utils.TimeUtil
Time related utilities.
- Author:
- K. Benedyczak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatMediumInstant
(Instant instant) static String
formatStandardInstant
(Instant instant) static String
formatStandardInstantWithNano
(Instant instant)
-
Constructor Details
-
TimeUtil
public TimeUtil()
-
-
Method Details
-
formatMediumInstant
- Parameters:
instant
-- Returns:
- instant formated as a string with medium size in the current timezone
-
formatStandardInstant
-
formatStandardInstantWithNano
-