Lines Matching refs:and_hms
157 let dt = Utc.ymd(2014, 7, 8).and_hms(9, 10, 11); // `2014-07-08T09:10:11Z`
159 assert_eq!(dt, Utc.yo(2014, 189).and_hms(9, 10, 11));
161 assert_eq!(dt, Utc.isoywd(2014, 28, Weekday::Tue).and_hms(9, 10, 11));
169 LocalResult::Single(Utc.ymd(2014, 7, 8).and_hms(21, 15, 33)));
214 let dt1 = Utc.ymd(2014, 11, 14).and_hms(8, 9, 10);
215 let dt2 = Utc.ymd(2014, 11, 14).and_hms(10, 9, 8);
218 assert_eq!(Utc.ymd(1970, 1, 1).and_hms(0, 0, 0) + Duration::seconds(1_000_000_000),
219 Utc.ymd(2001, 9, 9).and_hms(1, 46, 40));
220 assert_eq!(Utc.ymd(1970, 1, 1).and_hms(0, 0, 0) - Duration::seconds(1_000_000_000),
221 Utc.ymd(1938, 4, 24).and_hms(22, 13, 20));
250 let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9);
296 let dt = Utc.ymd(2014, 11, 28).and_hms(12, 0, 9);