Produces iCalendar-compliant UTC timestamps (RFC 5545).
More...
|
| String | nowUtc () |
| | Returns the current local date/time formatted as an iCalendar-compliant UTC timestamp (yyyyMMdd'T'HHmmss'Z').
|
| |
| String | validateAndGetDateAndTime (LocalDate date, LocalTime time) |
| | Formats the given local date/time as an iCalendar-compliant UTC timestamp (RFC 5545).
|
| |
Produces iCalendar-compliant UTC timestamps (RFC 5545).
All inputs are treated as UTC; no system timezone conversion is applied. Format:
yyyyMMdd'T'HHmmss'Z'.
◆ nowUtc()
| String fr.softsf.canscan.util.DateHelper.nowUtc |
( |
| ) |
|
Returns the current local date/time formatted as an iCalendar-compliant UTC timestamp (yyyyMMdd'T'HHmmss'Z').
◆ validateAndGetDateAndTime()
| String fr.softsf.canscan.util.DateHelper.validateAndGetDateAndTime |
( |
LocalDate | date, |
|
|
LocalTime | time ) |
Formats the given local date/time as an iCalendar-compliant UTC timestamp (RFC 5545).
- Parameters
-
| date | local date |
| time | local time |
- Returns
- UTC timestamp (yyyyMMdd'T'HHmmss'Z'), or "" if null
◆ ICALENDAR_COMPLIANT_UTC_FORMATTER
| final DateTimeFormatter fr.softsf.canscan.util.DateHelper.ICALENDAR_COMPLIANT_UTC_FORMATTER |
|
staticprivate |
Initial value:=
DateTimeFormatter.ofPattern("yyyyMMdd'T'HHmmss'Z'")
◆ INSTANCE
| fr.softsf.canscan.util.DateHelper.INSTANCE |
The documentation for this enum was generated from the following file: