Home
last modified time | relevance | path

Searched defs:NaiveDate (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/naive/
Ddate.rs63 pub const fn first_day(&self) -> NaiveDate { in first_day()
91 pub const fn last_day(&self) -> NaiveDate { in last_day()
121 pub const fn days(&self) -> RangeInclusive<NaiveDate> { in days()
198 pub struct NaiveDate { struct
202 /// The minimum possible `NaiveDate` (January 1, 262145 BCE). argument
210 impl arbitrary::Arbitrary<'_> for NaiveDate { implementation
211 fn arbitrary(u: &mut arbitrary::Unstructured) -> arbitrary::Result<NaiveDate> { in arbitrary()
219 impl NaiveDate { implementation
230 ) -> Option<NaiveDate> { in from_ordinal_and_flags()
243 const fn from_mdf(year: i32, mdf: Mdf) -> Option<NaiveDate> { in from_mdf()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/format/
Dformatting.rs56 pub fn new(date: Option<NaiveDate>, time: Option<NaiveTime>, items: I) -> DelayedFormat<I> { in new()
70 date: Option<NaiveDate>, in new_with_offset()
93 date: Option<NaiveDate>, in new_with_locale()
105 date: Option<NaiveDate>, in new_with_offset_and_locale()
148 date: Option<&NaiveDate>, in format()
173 date: Option<&NaiveDate>, in format_item()
192 date: Option<&NaiveDate>, in format_inner()
Dparsed.rs295 pub fn to_naive_date(&self) -> ParseResult<NaiveDate> { in to_naive_date()
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/
Ddate.rs77 pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date<Tz> { in from_utc()
294 pub fn naive_utc(&self) -> NaiveDate { in naive_utc()
305 pub fn naive_local(&self) -> NaiveDate { in naive_local()
324 F: FnMut(NaiveDate) -> Option<NaiveDate>, in map_local()
/aosp_15_r20/external/rust/android-crates-io/crates/plotters/src/coord/ranged1d/types/
Ddatetime.rs78 impl TimeValue for NaiveDate { implementation
80 fn date_floor(&self) -> NaiveDate { in date_floor()
83 fn date_ceil(&self) -> NaiveDate { in date_ceil()
92 fn add(&self, other: &Duration) -> NaiveDate { in add()
166 fn date_floor(&self) -> NaiveDate { in date_floor()
169 fn date_ceil(&self) -> NaiveDate { in date_ceil()
/aosp_15_r20/external/rust/android-crates-io/crates/rusqlite/src/types/
Dchrono.rs9 impl ToSql for NaiveDate { implementation
18 impl FromSql for NaiveDate { implementation
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/naive/datetime/
Dmod.rs108 pub const fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { in new()
393 pub const fn date(&self) -> NaiveDate { in date()
/aosp_15_r20/external/rust/android-crates-io/crates/chrono/src/datetime/
Dmod.rs174 pub fn date_naive(&self) -> NaiveDate { in date_naive()