icu_calendar/cal/
mod.rs

1// This file is part of ICU4X. For terms of use, please see the file
2// called LICENSE at the top level of the ICU4X source tree
3// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5//! Types for individual calendars
6pub(crate) mod buddhist;
7pub(crate) mod chinese;
8pub(crate) mod chinese_based;
9pub(crate) mod coptic;
10pub(crate) mod dangi;
11pub(crate) mod ethiopian;
12pub(crate) mod gregorian;
13pub(crate) mod hebrew;
14pub(crate) mod hijri;
15pub(crate) mod indian;
16pub(crate) mod iso;
17pub(crate) mod japanese;
18pub(crate) mod julian;
19pub(crate) mod persian;
20pub(crate) mod roc;
21
22pub use buddhist::Buddhist;
23pub use chinese::Chinese;
24pub use coptic::Coptic;
25pub use dangi::Dangi;
26pub use ethiopian::{Ethiopian, EthiopianEraStyle};
27pub use gregorian::Gregorian;
28pub use hebrew::Hebrew;
29pub use hijri::{
30    HijriSimulated, HijriTabular, HijriTabularEpoch, HijriTabularLeapYears, HijriUmmAlQura,
31};
32pub use indian::Indian;
33pub use iso::Iso;
34pub use japanese::{Japanese, JapaneseExtended};
35pub use julian::Julian;
36pub use persian::Persian;
37pub use roc::Roc;
38
39pub use crate::any_calendar::{AnyCalendar, AnyCalendarKind};
40
41/// Internal scaffolding types
42pub mod scaffold {
43    /// Trait marking other traits that are considered unstable and should not generally be
44    /// implemented outside of the calendar crate.
45    ///
46    /// <div class="stab unstable">
47    /// 🚧 This trait is considered unstable; it may change at any time, in breaking or non-breaking ways,
48    /// including in SemVer minor releases. Do not implement this trait in userland unless you are prepared for things to occasionally break.
49    /// </div>
50    pub trait UnstableSealed {}
51}