- getLongDateString
Formats a Date to the format yyyy-MM-dd HH:mm:ss.
- getMediumDateString
Formats a Date to the format yyyy-MM-dd.
- dateIsValid
This method checks whether the String inDate is a valid date following the
format "yyyy-MM-dd".
- getDateAfterAddition
This method adds days to a date
- getDuration
Parses the given string into a java.time.Duration object. The string syntax is
[amount][unit]. The s
- getIso8601NoTz
Returns date formatted as ISO 8601, without any TZ info
- getMediumDate
Parses a date from a String on the format YYYY-MM-DD. Returns null if the given
string is null.
- max
Returns the latest of the two given dates.
- parseDate
Parses the given string into a Date using the supported date formats. Returns
null if the string can
- dateTimeIsValid
This method checks whether the String dateTimeString is a valid datetime
following the format "yyyy-
- getPrettyInterval
Returns a pretty string representing the interval between the given start and
end dates using a day,
- min
Returns the earliest of the two given dates.