Searched defs:NaiveDate (Results 1 – 10 of 10) sorted by relevance
/external/rust/android-crates-io/crates/chrono/src/naive/date/ |
D | mod.rs | 102 pub struct NaiveDate { struct 106 /// The minimum possible `NaiveDate` (January 1, 262145 BCE). argument 114 impl arbitrary::Arbitrary<'_> for NaiveDate { implementation 115 fn arbitrary(u: &mut arbitrary::Unstructured) -> arbitrary::Result<NaiveDate> { in arbitrary() 123 impl NaiveDate { implementation 134 ) -> Option<NaiveDate> { in from_ordinal_and_flags() 151 const fn from_mdf(year: i32, mdf: Mdf) -> Option<NaiveDate> { in from_mdf() 167 pub const fn from_ymd(year: i32, month: u32, day: u32) -> NaiveDate { in from_ymd() 196 pub const fn from_ymd_opt(year: i32, month: u32, day: u32) -> Option<NaiveDate> { in from_ymd_opt() 215 pub const fn from_yo(year: i32, ordinal: u32) -> NaiveDate { in from_yo() [all …]
|
D | tests.rs | 449 fn check(lhs: Option<NaiveDate>, delta: TimeDelta, rhs: Option<NaiveDate>) { in test_date_checked_add_signed() 486 fn check(lhs: Option<NaiveDate>, rhs: Option<NaiveDate>, delta: TimeDelta) { in test_date_signed_duration_since() 513 fn check(lhs: Option<NaiveDate>, days: Days, rhs: Option<NaiveDate>) { in test_date_add_days() 534 fn check(lhs: Option<NaiveDate>, days: Days, rhs: Option<NaiveDate>) { in test_date_sub_days()
|
/external/rust/android-crates-io/crates/chrono/src/naive/ |
D | mod.rs | 40 pub(crate) const fn new(date: NaiveDate, start: Weekday) -> Self { in new() 62 pub const fn first_day(&self) -> NaiveDate { in first_day() 86 pub const fn checked_first_day(&self) -> Option<NaiveDate> { in checked_first_day() 114 pub const fn last_day(&self) -> NaiveDate { in last_day() 138 pub const fn checked_last_day(&self) -> Option<NaiveDate> { in checked_last_day() 168 pub const fn days(&self) -> RangeInclusive<NaiveDate> { in days() 201 pub const fn checked_days(&self) -> Option<RangeInclusive<NaiveDate>> { in checked_days()
|
/external/rust/android-crates-io/crates/chrono/src/format/ |
D | formatting.rs | 52 pub fn new(date: Option<NaiveDate>, time: Option<NaiveTime>, items: I) -> DelayedFormat<I> { in new() 59 date: Option<NaiveDate>, in new_with_offset() 75 date: Option<NaiveDate>, in new_with_locale() 87 date: Option<NaiveDate>, in new_with_offset_and_locale() 335 date: Option<&NaiveDate>, in format() 359 date: Option<&NaiveDate>, in format_item()
|
D | parsed.rs | 570 pub fn to_naive_date(&self) -> ParseResult<NaiveDate> { in to_naive_date() 1148 ) -> ParseResult<NaiveDate> { in resolve_week_date()
|
/external/rust/android-crates-io/crates/rusqlite/src/types/ |
D | chrono.rs | 9 impl ToSql for NaiveDate { implementation 18 impl FromSql for NaiveDate { implementation
|
/external/rust/android-crates-io/crates/chrono/src/ |
D | date.rs | 77 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()
|
/external/rust/android-crates-io/crates/plotters/src/coord/ranged1d/types/ |
D | datetime.rs | 78 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() 167 fn date_floor(&self) -> NaiveDate { in date_floor() 171 fn date_ceil(&self) -> NaiveDate { in date_ceil()
|
/external/rust/android-crates-io/crates/chrono/src/naive/datetime/ |
D | mod.rs | 99 pub const fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { in new() 330 pub const fn date(&self) -> NaiveDate { in date()
|
/external/rust/android-crates-io/crates/chrono/src/datetime/ |
D | mod.rs | 173 pub fn date_naive(&self) -> NaiveDate { in date_naive()
|