Class TimeUtil
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.utils.TimeUtil
-
public class TimeUtil extends java.lang.ObjectTime 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.StringformatMediumInstant(java.time.Instant instant)static java.lang.StringformatStandardInstant(java.time.Instant instant)
-
-
-
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)
-
-