Searched refs:from_utc_datetime (Results 1 – 5 of 5) sorted by relevance
138 *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() method184 fn from_utc_datetime(&self, utc: &NaiveDateTime) -> DateTime<Local> { in from_utc_datetime() method
336 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
117 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()
213 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()
598 - `Local::from_utc_datetime` didn't set a correct offset. (#26)