Package dev.plex.util
Class TimeUtils
java.lang.Object
dev.plex.util.TimeUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ZonedDateTime
createDate
(String arg) static String
formatRelativeTime
(ZonedDateTime date) private static int
parseInteger
(String s) static String
useTimezone
(LocalDateTime date) static String
useTimezone
(ZonedDateTime date)
-
Field Details
-
DATE_FORMAT
-
TIMEZONES
-
timeUnits
-
TIMEZONE
-
-
Constructor Details
-
TimeUtils
public TimeUtils()
-
-
Method Details
-
parseInteger
- Throws:
NumberFormatException
-
createDate
-
useTimezone
-
useTimezone
-
formatRelativeTime
-