Lines Matching defs:FixedOffset
23 pub struct FixedOffset { struct
27 impl FixedOffset { implementation
42 pub fn east(secs: i32) -> FixedOffset { in east()
50 pub fn east_opt(secs: i32) -> Option<FixedOffset> { in east_opt()
72 pub fn west(secs: i32) -> FixedOffset { in west()
80 pub fn west_opt(secs: i32) -> Option<FixedOffset> { in west_opt()
101 impl TimeZone for FixedOffset { implementation
104 fn from_offset(offset: &FixedOffset) -> FixedOffset { in from_offset()
108 fn offset_from_local_date(&self, _local: &NaiveDate) -> LocalResult<FixedOffset> { in offset_from_local_date()
111 fn offset_from_local_datetime(&self, _local: &NaiveDateTime) -> LocalResult<FixedOffset> { in offset_from_local_datetime()
115 fn offset_from_utc_date(&self, _utc: &NaiveDate) -> FixedOffset { in offset_from_utc_date()
118 fn offset_from_utc_datetime(&self, _utc: &NaiveDateTime) -> FixedOffset { in offset_from_utc_datetime()
123 impl Offset for FixedOffset { implementation
124 fn fix(&self) -> FixedOffset { in fix()
129 impl fmt::Debug for FixedOffset { implementation
143 impl fmt::Display for FixedOffset { implementation