Searched refs:offset_from_utc_datetime (Results 1 – 9 of 9) sorted by relevance
43 pub(super) fn offset_from_utc_datetime(_utc_time: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime() function62 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime() function181 self.offset_from_utc_datetime(&utc.and_time(NaiveTime::MIN)) in offset_from_utc_date()184 fn offset_from_utc_datetime(&self, utc: &NaiveDateTime) -> FixedOffset { in offset_from_utc_datetime() method185 inner::offset_from_utc_datetime(utc).unwrap() in offset_from_utc_datetime()
17 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime() function
28 pub(super) fn offset_from_utc_datetime(utc: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_utc_datetime() function
533 fn offset_from_utc_datetime(&self, utc: &NaiveDateTime) -> Self::Offset; in offset_from_utc_datetime() method548 DateTime::from_naive_utc_and_offset(*utc, self.offset_from_utc_datetime(utc)) in from_utc_datetime()
133 fn offset_from_utc_datetime(&self, _utc: &NaiveDateTime) -> Utc { in offset_from_utc_datetime() method
146 fn offset_from_utc_datetime(&self, _utc: &NaiveDateTime) -> FixedOffset { in offset_from_utc_datetime() method
1236 fn offset_from_utc_datetime(&self, _utc: &NaiveDateTime) -> TestTimeZone { in test_serde_no_offset_debug() method
97 fn offset_from_utc_datetime(&self, utc: &NaiveDateTime) -> Self::Offset { in offset_from_utc_datetime() method
661 guessed_offset = tz.offset_from_utc_datetime(&dt).fix().local_minus_utc(); in to_datetime_with_timezone()