Package es.kukenan.smartfi.common.utils
Class DateUtils
java.lang.Object
es.kukenan.smartfi.common.utils.DateUtils
Utils for creating and transforming dates and times.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ZonedDateTimeReturn the actual date and time UTC relative.static ZonedDateTimezonedDateTimeUtc(long millisFromEpoc) Return the date and time UTC relative for the given milliseconds from epoch.
-
Constructor Details
-
DateUtils
public DateUtils()
-
-
Method Details
-
zonedDateTimeUtc
Return the actual date and time UTC relative.- Returns:
- actual date and time UTC relative.
-
zonedDateTimeUtc
Return the date and time UTC relative for the given milliseconds from epoch.- Parameters:
millisFromEpoc- milliseconds from EPOCH.- Returns:
- date and time UTC relative for the given milliseconds from epoch.
-