Home
last modified time | relevance | path

Searched refs:local_minus_utc (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/chrono/src/offset/
Dfixed.rs24 local_minus_utc: i32, field
52 Some(FixedOffset { local_minus_utc: secs }) in east_opt()
82 Some(FixedOffset { local_minus_utc: -secs }) in west_opt()
90 pub fn local_minus_utc(&self) -> i32 { in local_minus_utc() method
91 self.local_minus_utc in local_minus_utc()
97 -self.local_minus_utc in utc_minus_local()
131 let offset = self.local_minus_utc; in fmt()
169 add_with_leapsecond(&self, rhs.local_minus_utc) in add()
178 add_with_leapsecond(&self, -rhs.local_minus_utc) in sub()
187 add_with_leapsecond(&self, rhs.local_minus_utc) in add()
[all …]
Dlocal.rs155 local -= ::Duration::seconds(offset.local_minus_utc() as i64); in from_local_datetime()
/external/rust/crates/chrono/
DCHANGELOG.md377 - `FixedOffset::local_minus_utc` and `FixedOffset::utc_minus_local` methods have been added.
378 Note that the old `Offset::local_minus_utc` method is gone; see below.
406 - `Offset::local_minus_utc` is now `Offset::fix`, and returns `FixedOffset` instead of a duration.
DREADME.md204 assert_eq!(dt.offset().fix().local_minus_utc(), 9 * 3600);
/external/rust/crates/chrono/src/format/
Dparsed.rs683 guessed_offset = tz.offset_from_utc_datetime(&dt).fix().local_minus_utc(); in to_datetime_with_timezone()
689 dt.offset().fix().local_minus_utc() == offset in to_datetime_with_timezone()
Dmod.rs534 let off = off.local_minus_utc(); in format_inner()