Module icu_datetime::time_zone
source ยท Expand description
A formatter specifically for the time zone.
Structsยง
- ExemplarCityFormat ๐
- Iso8601Format ๐
- LocalizedGmtFormat ๐
- TimeZoneDataPayloads ๐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.
- ZeroPadding ๐Whether a field should be zero-padded in ISO-8601 format.
Traitsยง
- FormatTimeZone ๐
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.