Home
last modified time | relevance | path

Searched refs:MIN_DAYS_FROM_YEAR_0 (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/chrono/src/naive/
Ddate.rs42 const MIN_DAYS_FROM_YEAR_0: i32 = (MIN_YEAR + 400_000) * 365 + (MIN_YEAR + 400_000) / 4 constant
1892 use super::{MIN_DATE, MIN_DAYS_FROM_YEAR_0, MIN_YEAR};
2206 check((0, 1, 1), Duration::days(MIN_DAYS_FROM_YEAR_0 as i64), Some((MIN_YEAR, 1, 1))); in test_date_add()
2207 check((0, 1, 1), Duration::days(MIN_DAYS_FROM_YEAR_0 as i64 - 1), None); in test_date_add()
2228 check((MIN_YEAR, 1, 1), (0, 1, 1), Duration::days(MIN_DAYS_FROM_YEAR_0 as i64)); in test_date_sub()