1//! Date and time types unconcerned with timezones.
2//!
3//! They are primarily building blocks for other types
4//! (e.g. [`TimeZone`](../offset/trait.TimeZone.html)),
5//! but can be also used for the simpler date and time handling.
67pub(crate) mod date;
8pub(crate) mod datetime;
9mod internals;
10pub(crate) mod isoweek;
11pub(crate) mod time;
1213pub use self::date::{Days, NaiveDate, NaiveDateDaysIterator, NaiveDateWeeksIterator, NaiveWeek};
14#[allow(deprecated)]
15pub use self::date::{MAX_DATE, MIN_DATE};
16#[cfg(feature = "rustc-serialize")]
17#[allow(deprecated)]
18pub use self::datetime::rustc_serialize::TsSeconds;
19#[allow(deprecated)]
20pub use self::datetime::{NaiveDateTime, MAX_DATETIME, MIN_DATETIME};
21pub use self::isoweek::IsoWeek;
22pub use self::time::NaiveTime;
2324#[cfg(feature = "__internal_bench")]
25#[doc(hidden)]
26pub use self::internals::YearFlags as __BenchYearFlags;
2728/// Serialization/Deserialization of naive types in alternate formats
29///
30/// The various modules in here are intended to be used with serde's [`with`
31/// annotation][1] to serialize as something other than the default [RFC
32/// 3339][2] format.
33///
34/// [1]: https://serde.rs/attributes.html#field-attributes
35/// [2]: https://tools.ietf.org/html/rfc3339
36#[cfg(feature = "serde")]
37pub mod serde {
38pub use super::datetime::serde::*;
39}