Module icu_datetime::time_zone
source ยท Expand description
A formatter specifically for the time zone.
Structsยง
- Exemplar
City ๐Format - Iso8601
Format ๐ - Localized
GmtFormat ๐ - Time
Zone ๐Data Payloads A container contains all data payloads for CustomTimeZone. TimeZoneFormatter
is available for users who need to separately control the formatting of time zones. Note: most users might preferZonedDateTimeFormatter
, which includes default time zone formatting according to the calendar.- A bag of options to define how time zone will be formatted.
Enumsยง
- An enum for time zone fallback formats.
- Determines which ISO-8601 format should be used to format a
GmtOffset
. - Whether the minutes field should be optional or required in ISO-8601 format.
- Whether the seconds field should be optional or excluded in ISO-8601 format.
- Zero
Padding ๐Whether a field should be zero-padded in ISO-8601 format.
Traitsยง
- Format
Time ๐Zone
Functionsยง
- format_
offset_ ๐hours - format_
time_ ๐segment Formats a time segment with optional zero-padding. - load ๐Loads a resource into its destination if the destination has not already been filled.