diff --git a/src/offset/fixed.rs b/src/offset/fixed.rs index ef861ce..5b69ef0 100644 --- a/src/offset/fixed.rs +++ b/src/offset/fixed.rs @@ -86,11 +86,13 @@ impl FixedOffset { } /// Returns the number of seconds to add to convert from UTC to the local time. + #[inline] pub fn local_minus_utc(&self) -> i32 { self.local_minus_utc } /// Returns the number of seconds to add to convert from the local time to UTC. + #[inline] pub fn utc_minus_local(&self) -> i32 { -self.local_minus_utc }