/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | AnnualTimeZoneRule.java | 34 private final int endYear; field in AnnualTimeZoneRule 52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument 56 this.endYear = endYear; in AnnualTimeZoneRule() 86 return endYear; in getEndYear() 102 if (year < startYear || year > endYear) { in getStartInYear() 170 if (endYear == MAX_YEAR) { in getFinalStart() 173 return getStartInYear(endYear, prevRawOffset, prevDSTSavings); in getFinalStart() 200 if (year > endYear) { in getPreviousStart() 220 && endYear == otherRule.endYear in isEquivalentTo() 248 if (endYear == MAX_YEAR) { in toString() [all …]
|
D | SimpleHoliday.java | 80 int startYear, int endYear) in SimpleHoliday() argument 82 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 133 int startYear, int endYear) in SimpleHoliday() argument 135 super(name, rangeRule(startYear, endYear, in SimpleHoliday() 141 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument 143 if (startYear == 0 && endYear == 0) { in rangeRule() 155 if (endYear != 0) { in rangeRule() 156 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime(); in rangeRule()
|
D | VTimeZone.java | 994 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE() 997 endYear = dfields[0]; in createRuleByRRULE() 1017 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | AnnualTimeZoneRule.java | 34 private final int endYear; field in AnnualTimeZoneRule 54 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument 58 this.endYear = endYear; in AnnualTimeZoneRule() 94 return endYear; in getEndYear() 112 if (year < startYear || year > endYear) { in getStartInYear() 182 if (endYear == MAX_YEAR) { in getFinalStart() 185 return getStartInYear(endYear, prevRawOffset, prevDSTSavings); in getFinalStart() 214 if (year > endYear) { in getPreviousStart() 235 && endYear == otherRule.endYear in isEquivalentTo() 266 if (endYear == MAX_YEAR) { in toString() [all …]
|
D | SimpleHoliday.java | 82 int startYear, int endYear) in SimpleHoliday() argument 84 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday() 138 int startYear, int endYear) in SimpleHoliday() argument 140 super(name, rangeRule(startYear, endYear, in SimpleHoliday() 146 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument 148 if (startYear == 0 && endYear == 0) { in rangeRule() 160 if (endYear != 0) { in rangeRule() 161 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime(); in rangeRule()
|
D | VTimeZone.java | 1025 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE() 1028 endYear = dfields[0]; in createRuleByRRULE() 1048 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | EthiopicTest.java | 444 private int endYear; in TestAddSet() field in EthiopicTest.TestAddSetItem 453 endYear = eYr; in TestAddSet() 462 public int getEndYear() { return endYear; } in TestAddSet() 482 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local 485 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet() 488 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
|
D | CopticTest.java | 387 private int endYear; in TestAddSet() field in CopticTest.TestAddSetItem 396 endYear = eYr; in TestAddSet() 405 public int getEndYear() { return endYear; } in TestAddSet() 425 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local 428 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet() 431 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | EthiopicTest.java | 441 private int endYear; in TestAddSet() field in EthiopicTest.TestAddSetItem 450 endYear = eYr; in TestAddSet() 459 public int getEndYear() { return endYear; } in TestAddSet() 479 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local 482 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet() 485 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
|
D | CopticTest.java | 384 private int endYear; in TestAddSet() field in CopticTest.TestAddSetItem 393 endYear = eYr; in TestAddSet() 402 public int getEndYear() { return endYear; } in TestAddSet() 422 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local 425 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet() 428 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/ |
D | BasicTimeZoneExample.java | 121 int endYear = startYear + 9; in equivalentTransitionsExample() local 122 cal.set(endYear + 1, Calendar.JANUARY, 1, 0, 0, 0); in equivalentTransitionsExample() 127 System.out.println(startYear + "-" + endYear + ": " + isEquivalent); in equivalentTransitionsExample()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | ZoneParser.java | 511 void addTransitions(ZoneLine lastZoneLine, ZoneLine zoneLine, int startYear, int endYear) { in addTransitions() argument 517 endYear = Math.min(endYear, zoneLine.untilYear); in addTransitions() 519 for (int year = startYear; year <= endYear; ++year) { in addTransitions() 530 public TransitionList getTransitions(String zoneID, int startYear, int endYear) { in getTransitions() argument 535 results.addTransitions(lastZoneLine, zoneLine, startYear, endYear); in getTransitions()
|
/external/icu/icu4c/source/i18n/ |
D | tzrule.cpp | 188 int32_t endYear) in AnnualTimeZoneRule() argument 190 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule() 198 int32_t endYear) in AnnualTimeZoneRule() argument 200 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
|
D | vtzone.cpp | 696 int32_t endYear; in createRuleByRRULE() local 699 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); in createRuleByRRULE() 701 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE() 719 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
|
/external/icu/libicu/cts_headers/unicode/ |
D | tzrule.h | 405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear); 424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tzrule.h | 405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear); 424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 827 int endYear = a1.getEndYear(); in TestTimeZoneRuleCoverage() local 828 if (endYear != AnnualTimeZoneRule.MAX_YEAR) { in TestTimeZoneRuleCoverage() 829 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage() 831 endYear = a3.getEndYear(); in TestTimeZoneRuleCoverage() 832 if (endYear != 2010) { in TestTimeZoneRuleCoverage() 833 … errln("FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRuleTest.java | 824 int endYear = a1.getEndYear(); in TestTimeZoneRuleCoverage() local 825 if (endYear != AnnualTimeZoneRule.MAX_YEAR) { in TestTimeZoneRuleCoverage() 826 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage() 828 endYear = a3.getEndYear(); in TestTimeZoneRuleCoverage() 829 if (endYear != 2010) { in TestTimeZoneRuleCoverage() 830 … errln("FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
|
/external/icu/icu4c/source/test/intltest/ |
D | tzrulets.cpp | 1282 int32_t endYear = a1->getEndYear(); in TestTimeZoneRuleCoverage() local 1283 if (endYear != AnnualTimeZoneRule::MAX_YEAR) { in TestTimeZoneRuleCoverage() 1284 …odeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage() 1286 endYear = a3->getEndYear(); in TestTimeZoneRuleCoverage() 1287 if (endYear != 2010) { in TestTimeZoneRuleCoverage() 1288 …UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
|
D | calregts.cpp | 2444 int32_t endYear; member 2497 int32_t endYear = testItemPtr->endYear + testLocalePtr->yearOffset; in TestT6745() local 2501 …if ( U_FAILURE(status) || year != endYear || month != testItemPtr->endMonth || day != testItemPtr-… in TestT6745() 2504 … ", expected " + endYear + "/" + testItemPtr->endMonth + "/" + testItemPtr->endDay + in TestT6745()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 316 int startYear, endYear; in TestTimeRoundTrip() local 325 endYear = cal.get(Calendar.YEAR) + 3; in TestTimeRoundTrip() 330 cal.set(endYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | TimeZoneFormatTest.java | 313 int startYear, endYear; in TestTimeRoundTrip() local 322 endYear = cal.get(Calendar.YEAR) + 3; in TestTimeRoundTrip() 327 cal.set(endYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
|