pub fn as_offset_at(&self, utc_date_time: &DateTime) -> i32 {
		assert_eq!(utc_date_time.timezone, Self::UTC);
		match self.inner {
			TimezoneInner::Variable(tz) => tz
				.offset_from_utc_datetime(&utc_date_time.date_time.as_chrono().expect(TODO))
				.fix()
				.local_minus_utc(),
			TimezoneInner::Fixed(seconds) => seconds,
		}
	}
/// Returns the number of seconds to add to convert from UTC to the local time.
Returns the number of seconds to add to convert from UTC to the local time.
Returns the number of seconds to add to convert from UTC to the local time .
pub fn as_offset_at(&self, utc_date_time: &DateTime) -> i32 {
		assert_eq!(utc_date_time.timezone, Self::UTC);
		match self.inner {
			TimezoneInner::Variable(tz) => tz
				.offset_from_utc_datetime(&utc_date_time.date_time.as_chrono().expect(TODO))
				.fix()
				.local_minus_utc(),
			TimezoneInner::Fixed(seconds) => seconds,
		}
	}
pub fn as_offset_at ( & self , utc_date_time : & DateTime ) -> i32 { assert_eq ! ( utc_date_time timezone Self UTC ) ; match self . inner { TimezoneInner :: Variable ( tz ) => tz . offset_from_utc_datetime ( & utc_date_time . date_time . as_chrono ( ) . expect ( TODO ) ) . fix ( ) . local_minus_utc ( ) , TimezoneInner :: Fixed ( seconds ) => seconds , } }
Returns the number of seconds to add to convert from UTC to the local time.
Returns the number of seconds to add to convert from UTC to the local time .
&self
utc_date_time
&DateTime