Searched refs:hmsm (Results 1 – 1 of 1) sorted by relevance
/external/rust/crates/chrono/src/naive/ |
D | time.rs | 1610 let hmsm = |h, m, s, mi| NaiveTime::from_hms_milli(h, m, s, mi); in test_time_add() localVariable 1612 check!(hmsm(3, 5, 7, 900), Duration::zero(), hmsm(3, 5, 7, 900)); in test_time_add() 1613 check!(hmsm(3, 5, 7, 900), Duration::milliseconds(100), hmsm(3, 5, 8, 0)); in test_time_add() 1614 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(-1800), hmsm(3, 5, 6, 500)); in test_time_add() 1615 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(-800), hmsm(3, 5, 7, 500)); in test_time_add() 1616 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(-100), hmsm(3, 5, 7, 1_200)); in test_time_add() 1617 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(100), hmsm(3, 5, 7, 1_400)); in test_time_add() 1618 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(800), hmsm(3, 5, 8, 100)); in test_time_add() 1619 check!(hmsm(3, 5, 7, 1_300), Duration::milliseconds(1800), hmsm(3, 5, 9, 100)); in test_time_add() 1620 check!(hmsm(3, 5, 7, 900), Duration::seconds(86399), hmsm(3, 5, 6, 900)); // overwrap in test_time_add() [all …]
|