Module chinese_based

Source
Expand description

๐Ÿšง [Unstable] Data provider struct definitions for chinese-based calendars.

๐Ÿšง 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.

Read more about data providers: icu_provider

Structsยง

CalendarChineseV1
Precomputed data for the Chinese calendar
CalendarDangiV1
Precomputed data for the Dangi calendar
ChineseBasedCache
Cached/precompiled data for a certain range of years for a chinese-based calendar. Avoids the need to perform lunar calendar arithmetic for most calendrical operations.
PackedChineseBasedYearInfo
The struct containing compiled ChineseData