Searched defs:NaiveDateTime (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/chrono/src/naive/ |
D | datetime.rs | 62 pub struct NaiveDateTime { struct 67 impl NaiveDateTime { impl 85 pub fn new(date: NaiveDate, time: NaiveTime) -> NaiveDateTime { in new() 115 pub fn from_timestamp(secs: i64, nsecs: u32) -> NaiveDateTime { in from_timestamp() 146 pub fn from_timestamp_opt(secs: i64, nsecs: u32) -> Option<NaiveDateTime> { in from_timestamp_opt() 220 pub fn parse_from_str(s: &str, fmt: &str) -> ParseResult<NaiveDateTime> { in parse_from_str() 489 pub fn checked_add_signed(self, rhs: OldDuration) -> Option<NaiveDateTime> { in checked_add_signed() 568 pub fn checked_sub_signed(self, rhs: OldDuration) -> Option<NaiveDateTime> { in checked_sub_signed() 702 impl Datelike for NaiveDateTime { implementation 873 fn with_year(&self, year: i32) -> Option<NaiveDateTime> { in with_year() [all …]
|
D | date.rs | 544 pub fn and_time(&self, time: NaiveTime) -> NaiveDateTime { in and_time() 568 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> NaiveDateTime { in and_hms() 591 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<NaiveDateTime> { in and_hms_opt() 616 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> NaiveDateTime { in and_hms_milli() 647 ) -> Option<NaiveDateTime> { in and_hms_milli_opt() 672 pub fn and_hms_micro(&self, hour: u32, min: u32, sec: u32, micro: u32) -> NaiveDateTime { in and_hms_micro() 703 ) -> Option<NaiveDateTime> { in and_hms_micro_opt() 728 pub fn and_hms_nano(&self, hour: u32, min: u32, sec: u32, nano: u32) -> NaiveDateTime { in and_hms_nano() 759 ) -> Option<NaiveDateTime> { in and_hms_nano_opt()
|
/external/rust/crates/chrono/src/offset/ |
D | fixed.rs | 182 impl Add<FixedOffset> for NaiveDateTime { implementation 186 fn add(self, rhs: FixedOffset) -> NaiveDateTime { in add() 191 impl Sub<FixedOffset> for NaiveDateTime { implementation 195 fn sub(self, rhs: FixedOffset) -> NaiveDateTime { in sub()
|
D | local.rs | 52 fn datetime_to_timespec(d: &NaiveDateTime, local: bool) -> sys::Timespec { in datetime_to_timespec()
|
/external/rust/crates/rusqlite/src/types/ |
D | chrono.rs | 57 impl ToSql for NaiveDateTime { implementation 67 impl FromSql for NaiveDateTime { implementation
|
/external/rust/crates/chrono/src/ |
D | datetime.rs | 95 pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { in from_utc() 245 pub fn naive_utc(&self) -> NaiveDateTime { in naive_utc() 251 pub fn naive_local(&self) -> NaiveDateTime { in naive_local() 328 F: FnMut(NaiveDateTime) -> Option<NaiveDateTime>, in map_local()
|
/external/rust/crates/plotters/src/coord/ranged1d/types/ |
D | datetime.rs | 128 impl TimeValue for NaiveDateTime { implementation 140 fn earliest_after_date(date: NaiveDate) -> NaiveDateTime { in earliest_after_date()
|
/external/rust/crates/chrono/src/format/ |
D | parsed.rs | 571 pub fn to_naive_datetime_with_offset(&self, offset: i32) -> ParseResult<NaiveDateTime> { in to_naive_datetime_with_offset()
|