Expand description
UTS 35 classical datetime skeletons.
Semantic skeletons (field sets) use classical skeletons for pattern matching in datagen.
See the Skeleton
struct for more information.
🚧 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
Skeleton
implementation for parsing. - Runtime
Skeleton
implementation for more efficient deserialization.
Structs§
- A collection of plural variants of a pattern.
Enums§
- The best skeleton found, alongside information on how well it matches.
- Either a
Pattern
single pattern or aPluralPattern
collection of patterns when there are plural variants. - These strings follow the recommendations for the serde::de::Unexpected::Other type. https://docs.serde.rs/serde/de/enum.Unexpected.html#variant.Other
Functions§
- Given a set of fields (which represents a skeleton), try to create a best localized pattern
- A partial implementation of the UTS 35 skeleton matching algorithm.