Home
last modified time | relevance | path

Searched refs:from_local_datetime (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/chrono/src/offset/
Dlocal.rs130 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() method
160 fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Local>> { in from_local_datetime() method
Dmod.rs440 fn from_local_datetime(&self, local: &NaiveDateTime) -> LocalResult<DateTime<Self>> { in from_local_datetime() method
/external/rust/crates/chrono/tests/
Dwasm.rs61 let res = match Local.from_local_datetime(&ndt).single() { in local_from_local_datetime()
/external/rust/crates/rusqlite/src/types/
Dchrono.rs247 let local = Local.from_local_datetime(&dt).single().unwrap(); in test_date_time_local()
/external/rust/crates/chrono/src/
Ddate.rs74 self.timezone().from_local_datetime(&localdt).single() in and_time()
Ddatetime.rs330 f(dt.naive_local()).and_then(|datetime| dt.timezone().from_local_datetime(&datetime).single()) in map_local()
/external/rust/crates/chrono/src/format/
Dparsed.rs658 match offset.from_local_datetime(&datetime) { in to_datetime()
698 match tz.from_local_datetime(&datetime) { in to_datetime_with_timezone()
/external/rust/crates/chrono/
DCHANGELOG.md56 * Fix `Local.from_local_datetime` method for wasm