Home
last modified time | relevance | path

Searched refs:endYear (Results 1 – 25 of 26) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java34 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 …]
DSimpleHoliday.java78 int startYear, int endYear) in SimpleHoliday() argument
80 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
131 int startYear, int endYear) in SimpleHoliday() argument
133 super(name, rangeRule(startYear, endYear, in SimpleHoliday()
139 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument
141 if (startYear == 0 && endYear == 0) { in rangeRule()
153 if (endYear != 0) { in rangeRule()
154 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime(); in rangeRule()
DVTimeZone.java1023 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE()
1026 endYear = dfields[0]; in createRuleByRRULE()
1046 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DAnnualTimeZoneRule.java34 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 …]
DSimpleHoliday.java80 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()
DVTimeZone.java994 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DEthiopicTest.java444 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()
DCopticTest.java387 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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEthiopicTest.java441 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()
DCopticTest.java384 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()
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java121 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()
/third_party/icu/icu4c/source/i18n/
Dtzrule.cpp188 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()
Dvtzone.cpp688 int32_t endYear; in createRuleByRRULE() local
691 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); in createRuleByRRULE()
693 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE()
711 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/third_party/node/deps/icu-small/source/i18n/
Dtzrule.cpp188 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()
Dvtzone.cpp688 int32_t endYear; in createRuleByRRULE() local
691 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); in createRuleByRRULE()
693 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE()
711 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/third_party/skia/third_party/externals/icu/source/i18n/
Dtzrule.cpp188 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()
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dtzrule.h405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
/third_party/icu/icu4c/source/i18n/unicode/
Dtzrule.h391 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
410 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dtzrule.h391 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
410 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRuleTest.java827 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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java825 int endYear = a1.getEndYear(); in TestTimeZoneRuleCoverage() local
826 if (endYear != AnnualTimeZoneRule.MAX_YEAR) { in TestTimeZoneRuleCoverage()
827 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage()
829 endYear = a3.getEndYear(); in TestTimeZoneRuleCoverage()
830 if (endYear != 2010) { in TestTimeZoneRuleCoverage()
831 … errln("FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
/third_party/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1278 int32_t endYear = a1->getEndYear(); in TestTimeZoneRuleCoverage() local
1279 if (endYear != AnnualTimeZoneRule::MAX_YEAR) { in TestTimeZoneRuleCoverage()
1280 …odeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage()
1282 endYear = a3->getEndYear(); in TestTimeZoneRuleCoverage()
1283 if (endYear != 2010) { in TestTimeZoneRuleCoverage()
1284 …UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
Dcalregts.cpp2446 int32_t endYear; member
2499 int32_t endYear = testItemPtr->endYear + testLocalePtr->yearOffset; in TestT6745() local
2503 …if ( U_FAILURE(status) || year != endYear || month != testItemPtr->endMonth || day != testItemPtr-… in TestT6745()
2506 … ", expected " + endYear + "/" + testItemPtr->endMonth + "/" + testItemPtr->endDay + in TestT6745()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DTimeZoneFormatTest.java316 int startYear, endYear; in TestTimeRoundTrip() local
325 endYear = cal.get(Calendar.YEAR) + 3; in TestTimeRoundTrip()
330 cal.set(endYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java313 int startYear, endYear; in TestTimeRoundTrip() local
322 endYear = cal.get(Calendar.YEAR) + 3; in TestTimeRoundTrip()
327 cal.set(endYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()

12