Lines Matching defs:Tz
95 pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime<Tz> { in from_utc()
101 pub fn date(&self) -> Date<Tz> { in date()
205 pub fn timezone(&self) -> Tz { in timezone()
220 pub fn checked_add_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_add_signed()
230 pub fn checked_sub_signed(self, rhs: OldDuration) -> Option<DateTime<Tz>> { in checked_sub_signed()
326 fn map_local<Tz: TimeZone, F>(dt: &DateTime<Tz>, mut f: F) -> Option<DateTime<Tz>> in map_local()
574 fn with_year(&self, year: i32) -> Option<DateTime<Tz>> { in with_year()
579 fn with_month(&self, month: u32) -> Option<DateTime<Tz>> { in with_month()
584 fn with_month0(&self, month0: u32) -> Option<DateTime<Tz>> { in with_month0()
589 fn with_day(&self, day: u32) -> Option<DateTime<Tz>> { in with_day()
594 fn with_day0(&self, day0: u32) -> Option<DateTime<Tz>> { in with_day0()
599 fn with_ordinal(&self, ordinal: u32) -> Option<DateTime<Tz>> { in with_ordinal()
604 fn with_ordinal0(&self, ordinal0: u32) -> Option<DateTime<Tz>> { in with_ordinal0()
628 fn with_hour(&self, hour: u32) -> Option<DateTime<Tz>> { in with_hour()
633 fn with_minute(&self, min: u32) -> Option<DateTime<Tz>> { in with_minute()
638 fn with_second(&self, sec: u32) -> Option<DateTime<Tz>> { in with_second()
643 fn with_nanosecond(&self, nano: u32) -> Option<DateTime<Tz>> { in with_nanosecond()
697 fn add(self, rhs: OldDuration) -> DateTime<Tz> { in add()
706 fn sub(self, rhs: OldDuration) -> DateTime<Tz> { in sub()
874 fn norm<Tz: TimeZone>(dt: &Option<DateTime<Tz>>) -> Option<(&DateTime<Tz>, &Tz::Offset)> { in test_decodable_json()
922 fn norm<Tz: TimeZone>(dt: &Option<DateTime<Tz>>) -> Option<(&DateTime<Tz>, &Tz::Offset)> { in test_decodable_json_timestamps()
1018 fn from(obj: TsSeconds<Tz>) -> DateTime<Tz> { in from()