Expand description
🚧 [Experimental] Relative time formatting
This module is published as its own crate (icu_relativetime)
and as part of the icu crate. See the latter for more details on the ICU4X project.
🚧 This code is experimental; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. It can be enabled with the "experimental" Cargo feature
of the icu meta-crate. Use with caution.
Re-exports§
pub use options::RelativeTimeFormatterOptions;pub use RelativeTimeError as Error;
Modules§
- options
- Options for configuring
RelativeTimeFormatter. - provider
- Data provider struct definitions for this ICU4X component.
Structs§
- Formatted
Relative Time - An intermediate structure returned by
RelativeTimeFormatter. This structure can be consumed viaWriteabletrait to a string or buffer. - Relative
Time Formatter - A formatter to render locale-sensitive relative time.
Enums§
- Relative
Time Error - A list of error outcomes for various operations in this module.