Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/naive/
Ddate.rs99 pub struct NaiveDate { struct
103 /// The minimum possible `NaiveDate` (January 1, 262145 BCE). argument
136 impl NaiveDate { implementation
138 fn from_of(year: i32, of: Of) -> Option<NaiveDate> { in from_of()
148 fn from_mdf(year: i32, mdf: Mdf) -> Option<NaiveDate> { in from_mdf()
172 pub fn from_ymd(year: i32, month: u32, day: u32) -> NaiveDate { in from_ymd()
195 pub fn from_ymd_opt(year: i32, month: u32, day: u32) -> Option<NaiveDate> { in from_ymd_opt()
220 pub fn from_yo(year: i32, ordinal: u32) -> NaiveDate { in from_yo()
244 pub fn from_yo_opt(year: i32, ordinal: u32) -> Option<NaiveDate> { in from_yo_opt()
270 pub fn from_isoywd(year: i32, week: u32, weekday: Weekday) -> NaiveDate { in from_isoywd()
[all …]
Ddatetime.rs85 pub fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { in new()
237 pub fn date(&self) -> NaiveDate { in date()
/external/rust/crates/chrono/src/format/
Dmod.rs393 date: Option<&NaiveDate>, in format_item()
406 date: Option<&NaiveDate>, in format_inner()
691 date: Option<&NaiveDate>, in format()
735 pub fn new(date: Option<NaiveDate>, time: Option<NaiveTime>, items: I) -> DelayedFormat<I> { in new()
741 date: Option<NaiveDate>, in new_with_offset()
762 date: Option<NaiveDate>, in new_with_locale()
773 date: Option<NaiveDate>, in new_with_offset_and_locale()
856 date: Option<&NaiveDate>, in format_item_localized()
872 date: Option<&NaiveDate>, in format_localized()
Dparsed.rs321 pub fn to_naive_date(&self) -> ParseResult<NaiveDate> { in to_naive_date()
/external/rust/crates/chrono/src/offset/
Dlocal.rs28 fn tm_to_naive_date(tm: &sys::Tm) -> NaiveDate { in tm_to_datetime()
34 fn tm_to_naive_date(tm: &sys::Tm) -> NaiveDate { in tm_to_datetime()
/external/rust/crates/rusqlite/src/types/
Dchrono.rs11 impl ToSql for NaiveDate { implementation
19 impl FromSql for NaiveDate { implementation
/external/rust/crates/chrono/src/
Ddate.rs63 pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date<Tz> { in from_utc()
254 pub fn naive_utc(&self) -> NaiveDate { in naive_utc()
264 pub fn naive_local(&self) -> NaiveDate { in naive_local()
272 F: FnMut(NaiveDate) -> Option<NaiveDate>, in map_local()
/external/rust/crates/plotters/src/coord/ranged1d/types/
Ddatetime.rs51 impl TimeValue for NaiveDate { implementation
53 fn date_floor(&self) -> NaiveDate { in date_floor()
56 fn date_ceil(&self) -> NaiveDate { in date_ceil()
130 fn date_floor(&self) -> NaiveDate { in date_floor()
133 fn date_ceil(&self) -> NaiveDate { in date_ceil()