Zoned Date/Time Pattern
Description
Configuration for a Zoned Date/Time Pattern. In addition to the Local Date/Time Pattern, the plugin allows to configure a time offset pattern allowing to parse date time strings with a relative offset to UTC, e.g. 2024-03-25 14:45:25+02.
May be used by
Properties
Date Time Pattern (
dateTimePattern) Description
Format of the date time part. These symbols have the following meaning: y (year-of-era), M (month-of-year), d (day-of-month), H (hour-of-day), m (minute-of-hour), s (second-of-minute), S (fraction-of-second).
Attributes
String
Mandatory
Example
yyyyMMddHHmmss.SSS
Example
yyyy-MM-dd HH:mm:ss
Time Offset Pattern (
timeOffsetPattern) Description
Format of the time offset part.
Attributes
String
Mandatory
Example
+HH:MM
Example
+HHmm
Example
H:MM:SS
No Offset Text (
noOffsetText) Description
This text can be present in the source data instead of the time offset. It indicates there is zero UTC offset, e.g. 2024-03-25 14:45:25Z.
Attributes
String
Optional
Default value
Z
YAML Template (with default values)
type: ZonedDateTimePattern
id: ZonedDateTimePattern-xxxxxx
displayName:
comment:
properties:
dateTimePattern:
noOffsetText: Z
timeOffsetPattern: