Home
last modified time | relevance | path

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

/external/rust/crates/chrono/src/naive/
Disoweek.rs145 use naive::{internals, MAX_DATE, MIN_DATE};
151 let maxweek = MAX_DATE.iso_week(); in test_iso_week_extremes()
161 assert_eq!(format!("{:?}", maxweek), MAX_DATE.format("%G-W%V").to_string()); in test_iso_week_extremes()
Ddatetime.rs18 use naive::date::{MAX_DATE, MIN_DATE};
34 pub const MAX_DATETIME: NaiveDateTime = NaiveDateTime { date: MAX_DATE, time: MAX_TIME };
1506 use naive::{MAX_DATE, MIN_DATE}; in test_encodable_json()
1529 to_string(&MAX_DATE.and_hms_nano(23, 59, 59, 1_999_999_999)).ok(), in test_encodable_json()
1540 use naive::{MAX_DATE, MIN_DATE}; in test_decodable_json()
1569 Some(MAX_DATE.and_hms_nano(23, 59, 59, 1_999_999_999)) in test_decodable_json()
1573 Some(MAX_DATE.and_hms_nano(23, 59, 59, 1_999_999_999)) in test_decodable_json()
2249 use naive::{NaiveDate, MAX_DATE, MIN_DATE};
2299 let max_days_from_year_0 = MAX_DATE.signed_duration_since(NaiveDate::from_ymd(0, 1, 1)); in test_datetime_add()
2300 check((0, 1, 1, 0, 0, 0), max_days_from_year_0, Some((MAX_DATE.year(), 12, 31, 0, 0, 0))); in test_datetime_add()
[all …]
Ddate.rs106 pub const MAX_DATE: NaiveDate = NaiveDate { ymdf: (MAX_YEAR << 13) | (365 << 4) | 0o17 /*F*/ }; constant
120 MAX_DATE == calculated_max, in test_date_bounds()
127 let maxsecs = MAX_DATE.signed_duration_since(MIN_DATE).num_seconds(); in test_date_bounds()
1570 if self.value == MAX_DATE { in next()
1581 let exact_size = MAX_DATE.signed_duration_since(self.value).num_days(); in size_hint()
1597 if MAX_DATE - self.value < OldDuration::weeks(1) { in next()
1606 let exact_size = MAX_DATE.signed_duration_since(self.value).num_weeks(); in size_hint()
1727 assert_eq!(to_string(&MAX_DATE).ok(), Some(r#""+262143-12-31""#.into())); in test_encodable_json()
1745 assert_eq!(from_str(r#""+262143-12-31""#).ok(), Some(MAX_DATE)); in test_decodable_json()
1891 use super::{MAX_DATE, MAX_DAYS_FROM_YEAR_0, MAX_YEAR};
[all …]
/external/rust/crates/chrono/src/
Dlib.rs488 pub use date::{Date, MAX_DATE, MIN_DATE};
554 pub use self::date::{NaiveDate, MAX_DATE, MIN_DATE};
1432 for y in range_inclusive(naive::MIN_DATE.year(), naive::MAX_DATE.year()) { in test_readme_doomsday()
1516 for year in range_inclusive(naive::MIN_DATE.year(), naive::MAX_DATE.year()) { in test_num_days_from_ce_against_alternative_impl()
Ddate.rs55 pub const MAX_DATE: Date<Utc> = Date { date: naive::MAX_DATE, offset: Utc }; constant
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetazones.java378 checkGapOrOverlap(last, DateRange.MAX_DATE); in checkGapsAndOverlaps()
693 return end ? MAX_DATE : MIN_DATE; in parse()
731 static long MAX_DATE = getDateTimeinMillis(110, 0, 1, 0, 0, 0); field in TestMetazones.DateRange
/external/rust/crates/chrono/src/format/
Dparsed.rs724 use naive::{NaiveDate, NaiveTime, MAX_DATE, MIN_DATE};
854 let max_year = MAX_DATE.year(); in test_parsed_to_naive_date()
1107 MAX_DATE.signed_duration_since(NaiveDate::from_ymd(1970, 1, 1)); in test_parsed_to_naive_datetime_with_offset()
1122 ymdhms(MAX_DATE.year(), 12, 31, 23, 59, 59) in test_parsed_to_naive_datetime_with_offset()
/external/rust/crates/chrono/
DCHANGELOG.md291 `chrono::date::MAX` | `chrono::MAX_DATE`
296 `chrono::naive::date::MAX` | `chrono::naive::MAX_DATE`
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java1246 protected static final Date MAX_DATE = new Date(MAX_MILLIS); field in Calendar
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java1304 protected static final Date MAX_DATE = new Date(MAX_MILLIS); field in Calendar
/external/icu/android_icu4j/api/public/
Dcurrent.txt4026 field protected static final java.util.Date MAX_DATE;
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/icu4j/tools/build/
Dicu4j61.api3.gz
Dicu4j62.api3.gz12;ICU4J 62.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j60.api3.gz
Dicu4j59.api3.gz
Dicu4j68.api3.gz
Dicu4j65.api3.gz
Dicu4j64.api3.gz
Dicu4j63.api3.gz12;ICU4J 63.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j66.api3.gz
Dicu4j67.api3.gz12;ICU4J 67.1;; 2ST@3.6;PB;NS;NF;NS; ...