Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java32 private final int endYear; field in AnnualTimeZoneRule
52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
56 this.endYear = endYear > MAX_YEAR ? MAX_YEAR : endYear; in AnnualTimeZoneRule()
92 return endYear; in getEndYear()
110 if (year < startYear || year > endYear) { in getStartInYear()
178 if (endYear == MAX_YEAR) { in getFinalStart()
181 return getStartInYear(endYear, prevRawOffset, prevDSTSavings); in getFinalStart()
208 if (year > endYear) { in getPreviousStart()
228 && endYear == otherRule.endYear in isEquivalentTo()
257 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()
136 int startYear, int endYear) in SimpleHoliday() argument
138 super(name, rangeRule(startYear, endYear, in SimpleHoliday()
144 private static DateRule rangeRule(int startYear, int endYear, DateRule rule) in rangeRule() argument
146 if (startYear == 0 && endYear == 0) { in rangeRule()
158 if (endYear != 0) { in rangeRule()
159 Date end = new GregorianCalendar(endYear, Calendar.DECEMBER, 31).getTime(); in rangeRule()
DVTimeZone.java1019 int endYear = AnnualTimeZoneRule.MAX_YEAR; in createRuleByRRULE()
1022 endYear = dfields[0]; in createRuleByRRULE()
1042 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCopticTest.java372 private int endYear; in TestAddSet() field in CopticTest.TestAddSetItem
381 endYear = eYr; in TestAddSet()
390 public int getEndYear() { return endYear; } in TestAddSet()
410 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local
413 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet()
416 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
DEthiopicTest.java430 private int endYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
439 endYear = eYr; in TestAddSet()
448 public int getEndYear() { return endYear; } in TestAddSet()
468 int endYear = testCalendar.get(Calendar.YEAR); in TestAddSet() local
471 …if ( endYear != item.getEndYear() || endMonth != item.getEndMonth() || endDay != item.getEndDay() … in TestAddSet()
474 " got yr " + endYear + " mo " + endMonth + " da " + endDay); in TestAddSet()
/external/icu/icu4c/source/i18n/
Dtzrule.cpp186 int32_t endYear) in AnnualTimeZoneRule() argument
188 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
196 int32_t endYear) in AnnualTimeZoneRule() argument
198 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
Dvtzone.cpp694 int32_t endYear; in createRuleByRRULE() local
697 Grego::timeToFields(until, endYear, endMonth, endDOM, endDOW, endDOY, endMID); in createRuleByRRULE()
699 endYear = AnnualTimeZoneRule::MAX_YEAR; in createRuleByRRULE()
717 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h401 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
420 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java810 int endYear = a1.getEndYear(); in TestTimeZoneRuleCoverage() local
811 if (endYear != AnnualTimeZoneRule.MAX_YEAR) { in TestTimeZoneRuleCoverage()
812 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage()
814 endYear = a3.getEndYear(); in TestTimeZoneRuleCoverage()
815 if (endYear != 2010) { in TestTimeZoneRuleCoverage()
816 … 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/format/
DTimeZoneFormatTest.java297 int startYear, endYear; in TestTimeRoundTrip() local
306 endYear = cal.get(Calendar.YEAR) + 3; in TestTimeRoundTrip()
311 cal.set(endYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp1279 int32_t endYear = a1->getEndYear(); in TestTimeZoneRuleCoverage() local
1280 if (endYear != AnnualTimeZoneRule::MAX_YEAR) { in TestTimeZoneRuleCoverage()
1281 …odeString)"FAIL: The start year of AnnualTimeZoneRule a1 must be MAX_YEAR - returned: " + endYear); in TestTimeZoneRuleCoverage()
1283 endYear = a3->getEndYear(); in TestTimeZoneRuleCoverage()
1284 if (endYear != 2010) { in TestTimeZoneRuleCoverage()
1285 …UnicodeString)"FAIL: The start year of AnnualTimeZoneRule a3 must be 2010 - returned: " + endYear); in TestTimeZoneRuleCoverage()
Dcalregts.cpp2404 int32_t endYear; member
2457 int32_t endYear = testItemPtr->endYear + testLocalePtr->yearOffset; in TestT6745() local
2461 …if ( U_FAILURE(status) || year != endYear || month != testItemPtr->endMonth || day != testItemPtr-… in TestT6745()
2464 … ", expected " + endYear + "/" + testItemPtr->endMonth + "/" + testItemPtr->endDay + in TestT6745()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...