Searched refs:from_local_datetime (Results 1 – 8 of 8) sorted by relevance
130 self.from_local_datetime(local).map(|datetime| *datetime.offset()) in offset_from_local_datetime()146 let midnight = self.from_local_datetime(&local.and_hms(0, 0, 0)); in from_local_date()151 fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Local>> { in from_local_datetime() method160 fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Local>> { in from_local_datetime() method
440 fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Self>> { in from_local_datetime() method
61 let res = match Local.from_local_datetime(&ndt).single() { in local_from_local_datetime()
247 let local = Local.from_local_datetime(&dt).single().unwrap(); in test_date_time_local()
74 self.timezone().from_local_datetime(&localdt).single() in and_time()
330 f(dt.naive_local()).and_then(|datetime| dt.timezone().from_local_datetime(&datetime).single()) in map_local()
658 match offset.from_local_datetime(&datetime) { in to_datetime()698 match tz.from_local_datetime(&datetime) { in to_datetime_with_timezone()
56 * Fix `Local.from_local_datetime` method for wasm