Module icu_datetime::provider::pattern
source · Expand description
Structured datetime pattern types for datagen and the data provider.
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Modules§
- Reference
Pattern
implementation intended to follow Unicode specification, and become publicly available for tooling to use for parsing/inspecting/modifying and serialization. - Runtime
Pattern
implementation which is optimized for zero-allocation deserialization and high-performance runtime use inDateTimeFormatter
.
Enums§
- Used to represent either H11/H12, or H23/H24. Skeletons only store these hour cycles as H12 or H23.
- An element of a
GenericPattern
. - A low-level pattern parsing error.
- An element of a
Pattern
. - The granularity of time represented in a
Pattern
. Ordered from least granular to most granular for comparison.