Home
last modified time | relevance | path

Searched refs:from_utc_datetime (Results 1 – 5 of 5) sorted by relevance

/external/rust/crates/chrono/src/offset/
Dlocal.rs138 *self.from_utc_datetime(utc).offset() in offset_from_utc_datetime()
172 let midnight = self.from_utc_datetime(&utc.and_hms(0, 0, 0)); in from_utc_date()
177 fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Local> { in from_utc_datetime() method
184 fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Local> { in from_utc_datetime() method
Dmod.rs336 Some(dt) => LocalResult::Single(self.from_utc_datetime(&dt)), in timestamp_opt()
459 fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Self> { in from_utc_datetime() method
/external/rust/crates/rusqlite/src/types/
Dchrono.rs117 NaiveDateTime::column_result(value).map(|dt| Utc.from_utc_datetime(&dt)) in column_result()
208 let utc = Utc.from_utc_datetime(&dt); in test_date_time_utc()
/external/rust/crates/chrono/src/
Ddatetime.rs213 tz.from_utc_datetime(&self.datetime) in with_timezone()
223 Some(tz.from_utc_datetime(&datetime)) in checked_add_signed()
233 Some(tz.from_utc_datetime(&datetime)) in checked_sub_signed()
/external/rust/crates/chrono/
DCHANGELOG.md598 - `Local::from_utc_datetime` didn't set a correct offset. (#26)