Home
last modified time | relevance | path

Searched refs:MAX_YEAR (Results 1 – 25 of 38) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/util/
DAnnualTimeZoneRule.java30 public static final int MAX_YEAR = Integer.MAX_VALUE; field in AnnualTimeZoneRule
170 if (endYear == MAX_YEAR) { in getFinalStart()
248 if (endYear == MAX_YEAR) { in toString()
DBasicTimeZone.java345 if (ar.getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in getTimeZoneRules()
416 dtr, dtfields[0], AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
439 dtr, dtfields[0] - 1, AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
475 annualRules[0].getStartYear() - 1, AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1340 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1366 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
DVTimeZone.java747 if (((AnnualTimeZoneRule)r).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in parse()
994 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE()
1280 … if (((AnnualTimeZoneRule)tzt.getTo()).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in writeZone()
1327 … if (((AnnualTimeZoneRule)tzt.getTo()).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in writeZone()
DRuleBasedTimeZone.java65 && ((AnnualTimeZoneRule)rule).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in addTransitionRule()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java30 public static final int MAX_YEAR = Integer.MAX_VALUE; field in AnnualTimeZoneRule
182 if (endYear == MAX_YEAR) { in getFinalStart()
266 if (endYear == MAX_YEAR) { in toString()
DBasicTimeZone.java354 if (ar.getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in getTimeZoneRules()
427 dtr, dtfields[0], AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
450 dtr, dtfields[0] - 1, AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
486 annualRules[0].getStartYear() - 1, AnnualTimeZoneRule.MAX_YEAR); in getSimpleTimeZoneRulesNear()
DSimpleTimeZone.java1371 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1397 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
DVTimeZone.java778 if (((AnnualTimeZoneRule)r).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in parse()
1025 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE()
1311 … if (((AnnualTimeZoneRule)tzt.getTo()).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in writeZone()
1358 … if (((AnnualTimeZoneRule)tzt.getTo()).getEndYear() == AnnualTimeZoneRule.MAX_YEAR) { in writeZone()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java77 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
83 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
90 … new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
94 …tzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
101 … new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
105 …tzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
189 … = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
236 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
267 … tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
770 2000, AnnualTimeZoneRule.MAX_YEAR); in TestTimeZoneRuleCoverage()
[all …]
DTimeZoneOffsetLocalTest.java142 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestGetOffsetAroundTransition()
149 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestGetOffsetAroundTransition()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java74 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
80 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
87 … new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
91 …tzr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
98 … new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
102 …tzr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
186 … = new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestSimpleRuleBasedTimeZone()
233 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
264 … tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 2007, AnnualTimeZoneRule.MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
767 2000, AnnualTimeZoneRule.MAX_YEAR); in TestTimeZoneRuleCoverage()
[all …]
DTimeZoneOffsetLocalTest.java139 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestGetOffsetAroundTransition()
146 STARTYEAR, AnnualTimeZoneRule.MAX_YEAR); in TestGetOffsetAroundTransition()
/external/rust/crates/chrono/src/naive/
Ddate.rs24 const MAX_YEAR: i32 = internals::MAX_YEAR; constant
33 MAX_YEAR * 365 + MAX_YEAR / 4 - MAX_YEAR / 100 + MAX_YEAR / 400 + 365;
106 pub const MAX_DATE: NaiveDate = NaiveDate { ymdf: (MAX_YEAR << 13) | (365 << 4) | 0o17 /*F*/ };
113 let calculated_max = NaiveDate::from_ymd(MAX_YEAR, 12, 31); in test_date_bounds()
139 if year >= MIN_YEAR && year <= MAX_YEAR && of.valid() { in from_of()
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()
2227 check((MAX_YEAR, 12, 31), (0, 1, 1), Duration::days(MAX_DAYS_FROM_YEAR_0 as i64)); in test_date_sub()
Disoweek.rs158 assert_eq!(maxweek.year(), internals::MAX_YEAR + 1); in test_iso_week_extremes()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp178 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
187 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
201 …new AnnualTimeZoneRule("RBTZ_DST2", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
208 …zr = new AnnualTimeZoneRule("RBTZ_STD2", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
222 …new AnnualTimeZoneRule("RBTZ_DST3", -1*HOUR, 1*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
229 …zr = new AnnualTimeZoneRule("RBTZ_STD3", -1*HOUR, 0, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
401 …= new AnnualTimeZoneRule("3RD_ATZ", -1*HOUR, 2*HOUR, dtr, STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestSimpleRuleBasedTimeZone()
455 tzr = new AnnualTimeZoneRule("EST", -5*HOUR, 0, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
504 tzr = new AnnualTimeZoneRule("EDT", -5*HOUR, 1*HOUR, dtr, 2007, AnnualTimeZoneRule::MAX_YEAR); in TestHistoricalRuleBasedTimeZone()
1221 2000, AnnualTimeZoneRule::MAX_YEAR); in TestTimeZoneRuleCoverage()
[all …]
Dtzoffloc.cpp158 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestGetOffsetAroundTransition()
169 STARTYEAR, AnnualTimeZoneRule::MAX_YEAR); in TestGetOffsetAroundTransition()
/external/icu/icu4c/source/i18n/
Dbasictz.cpp181 dtr, year, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
201 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
234 dtr, ar1->getStartYear() - 1, AnnualTimeZoneRule::MAX_YEAR); in getSimpleRulesNear()
493 if (ar->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in getTimeZoneRulesAfter()
Dtzrule.cpp181 const int32_t AnnualTimeZoneRule::MAX_YEAR = 0x7FFFFFFF; /* max signed int32 */
346 if (fEndYear == MAX_YEAR) { in getFinalStart()
Dsimpletz.cpp1140 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
1178 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
Dvtzone.cpp701 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE()
1657 if (atzrule->getEndYear() == AnnualTimeZoneRule::MAX_YEAR) { in parse()
2015 && atzrule->getEndYear() == AnnualTimeZoneRule::MAX_YEAR in writeZone()
2066 && atzrule->getEndYear() == AnnualTimeZoneRule::MAX_YEAR in writeZone()
/external/icu/libicu/cts_headers/unicode/
Dtzrule.h386 static const int32_t MAX_YEAR;
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h386 static const int32_t MAX_YEAR;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
DSerializableTestUtility.java235 2007, AnnualTimeZoneRule.MAX_YEAR),
259 2007, AnnualTimeZoneRule.MAX_YEAR)
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DSerializableTestUtility.java232 2007, AnnualTimeZoneRule.MAX_YEAR),
256 2007, AnnualTimeZoneRule.MAX_YEAR)

12