Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/naive/
Ddate.rs32 const MAX_DAYS_FROM_YEAR_0: i32 = constant
1891 use super::{MAX_DATE, MAX_DAYS_FROM_YEAR_0, MAX_YEAR};
2203 check((0, 1, 1), Duration::days(MAX_DAYS_FROM_YEAR_0 as i64), Some((MAX_YEAR, 12, 31))); in test_date_add()
2204 check((0, 1, 1), Duration::days(MAX_DAYS_FROM_YEAR_0 as i64 + 1), None); in test_date_add()
2227 check((MAX_YEAR, 12, 31), (0, 1, 1), Duration::days(MAX_DAYS_FROM_YEAR_0 as i64)); in test_date_sub()