Formats
A collection of predefined formats for parsing and formatting UtcOffset values.
See UtcOffset.Formats.ISO, UtcOffset.Formats.ISO_BASIC, and UtcOffset.Formats.FOUR_DIGITS for popular predefined formats.
If predefined formats are not sufficient, use UtcOffset.Format to create a custom kotlinx.datetime.format.DateTimeFormat for UtcOffset values.
Properties
Link copied to clipboard
A subset of the ISO 8601 basic format that always outputs and parses exactly a numeric sign and four digits: two digits for the hour and two digits for the minute. If the offset has a non-zero number of seconds, they are truncated.
Link copied to clipboard
Link copied to clipboard
ISO 8601 basic format.