Home
last modified time | relevance | path

Searched refs:DateImpl (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/chrono/src/naive/
Disoweek.rs8 use super::internals::{DateImpl, Of, YearFlags};
21 ywf: DateImpl, // (year << 10) | (week << 4) | flag
45 IsoWeek { ywf: (year << 10) | (week << 4) as DateImpl | DateImpl::from(of.flags().0) } in iso_week_from_yof()
Dinternals.rs25 pub type DateImpl = i32; typedef
27 pub const MAX_YEAR: DateImpl = i32::MAX >> 13;
28 pub const MIN_YEAR: DateImpl = i32::MIN >> 13;
Ddate.rs21 use super::internals::{self, DateImpl, Mdf, Of, YearFlags};
100 ymdf: DateImpl, // (year << 13) | of
141 Some(NaiveDate { ymdf: (year << 13) | (of as DateImpl) }) in from_of()
790 Some(NaiveDate { ymdf: (self.ymdf & !0b1_1111_1111_1111) | of as DateImpl }) in with_of()