Lines Matching refs:east
263 src.with_timezone(&FixedOffset::east(0)) in from()
321 src.with_timezone(&FixedOffset::east(0)) in from()
853 to_string_fixed(&FixedOffset::east(3660).ymd(2014, 7, 24).and_hms(12, 34, 6)).ok(), in test_encodable_json()
857 to_string_fixed(&FixedOffset::east(3650).ymd(2014, 7, 24).and_hms(12, 34, 6)).ok(), in test_encodable_json()
889 norm(&Some(FixedOffset::east(0).ymd(2014, 7, 24).and_hms(12, 34, 6))) in test_decodable_json()
893 norm(&Some(FixedOffset::east(60 * 60 + 23 * 60).ymd(2014, 7, 24).and_hms(13, 57, 6))) in test_decodable_json()
937 norm(&Some(FixedOffset::east(0).ymd(1970, 1, 1).and_hms(0, 0, 0))) in test_decodable_json_timestamps()
941 norm(&Some(FixedOffset::east(0).ymd(1969, 12, 31).and_hms(23, 59, 59))) in test_decodable_json_timestamps()
995 from(FixedOffset::east(0).timestamp_opt(d.read_i64()?, 0), d).map(TsSeconds) in decode()
2187 let Kst = FixedOffset::east(9 * 60 * 60); in test_datetime_offset()
2246 let tz = FixedOffset::east(5 * 60 * 60); in test_datetime_date_and_time()
2253 let tz = FixedOffset::east(4 * 60 * 60); in test_datetime_date_and_time()
2283 let EDT = FixedOffset::east(5 * 60 * 60); in test_datetime_rfc2822_and_rfc3339()
2311 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms(23, 16, 9)) in test_datetime_rfc2822_and_rfc3339()
2315 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms(23, 16, 9)) in test_datetime_rfc2822_and_rfc3339()
2319 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms(23, 16, 9)) in test_datetime_rfc2822_and_rfc3339()
2334 let pst = FixedOffset::east(8 * 60 * 60); in test_rfc3339_opts()
2365 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str()
2382 Ok(FixedOffset::east(0).ymd(2015, 2, 18).and_hms_milli(23, 16, 9, 150)) in test_datetime_from_str()
2405 let ymdhms = |y, m, d, h, n, s, off| FixedOffset::east(off).ymd(y, m, d).and_hms(h, n, s); in test_datetime_parse_from_str()
2427 let ndt_fixed = dt.with_timezone(&FixedOffset::east(3600)); in test_to_string_round_trip()
2430 let ndt_fixed = dt.with_timezone(&FixedOffset::east(0)); in test_to_string_round_trip()
2516 assert_eq!(SystemTime::from(epoch.with_timezone(&FixedOffset::east(32400))), UNIX_EPOCH); in test_from_system_time()
2556 assert_eq!(SystemTime::from(epoch.with_timezone(&FixedOffset::east(32400))), UNIX_EPOCH); in test_from_system_time()