Home
last modified time | relevance | path

Searched refs:startYear (Results 1 – 25 of 32) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleHoliday.java61 int startYear) in SimpleHoliday() argument
63 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
82 int startYear, int endYear) in SimpleHoliday() argument
84 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
124 int startYear) in SimpleHoliday() argument
126 super(name, rangeRule(startYear, 0, 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()
[all …]
DAnnualTimeZoneRule.java33 private final int startYear; field in AnnualTimeZoneRule
54 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
57 this.startYear = startYear; in AnnualTimeZoneRule()
82 return startYear; in getStartYear()
112 if (year < startYear || year > endYear) { in getStartInYear()
173 return getStartInYear(startYear, prevRawOffset, prevDSTSavings); in getFirstStart()
196 if (year < startYear) { in getNextStart()
234 if (startYear == otherRule.startYear in isEquivalentTo()
264 buf.append(", startYear=" + startYear); in toString()
DSimpleTimeZone.java293 this.startYear = year; in setStartYear()
747 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
952 private int startYear; // the year these DST rules took effect field in SimpleTimeZone
1014 startYear = 0; in construct()
1168 startYear == that.startYear )); in equals()
1205 startYear ^ (startYear>>>23); in hashCode()
1255 startYear == other.startYear)); in hasSameRules()
1371 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1397 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DSimpleHoliday.java60 int startYear) in SimpleHoliday() argument
62 super(name, rangeRule(startYear, 0, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
80 int startYear, int endYear) in SimpleHoliday() argument
82 super(name, rangeRule(startYear, endYear, new SimpleDateRule(month, dayOfMonth))); in SimpleHoliday()
120 int startYear) in SimpleHoliday() argument
122 super(name, rangeRule(startYear, 0, 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()
[all …]
DAnnualTimeZoneRule.java33 private final int startYear; field in AnnualTimeZoneRule
52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
55 this.startYear = startYear; in AnnualTimeZoneRule()
76 return startYear; in getStartYear()
102 if (year < startYear || year > endYear) { in getStartInYear()
162 return getStartInYear(startYear, prevRawOffset, prevDSTSavings); in getFirstStart()
183 if (year < startYear) { in getNextStart()
219 if (startYear == otherRule.startYear in isEquivalentTo()
246 buf.append(", startYear=" + startYear); in toString()
DSimpleTimeZone.java282 this.startYear = year; in setStartYear()
726 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
931 private int startYear; // the year these DST rules took effect field in SimpleTimeZone
990 startYear = 0; in construct()
1143 startYear == that.startYear )); in equals()
1179 startYear ^ (startYear>>>23); in hashCode()
1227 startYear == other.startYear)); in hasSameRules()
1340 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1366 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
/external/icu/icu4j/samples/src/com/ibm/icu/samples/util/timezone/
DBasicTimeZoneExample.java113 for (int startYear = 1970; startYear <= 2000; startYear += 10) { in equivalentTransitionsExample()
116 cal.set(startYear, Calendar.JANUARY, 1, 0, 0, 0); in equivalentTransitionsExample()
121 int endYear = startYear + 9; in equivalentTransitionsExample()
127 System.out.println(startYear + "-" + endYear + ": " + isEquivalent); in equivalentTransitionsExample()
/external/icu/icu4c/source/i18n/
Dsimpletz.cpp76 startYear(0), in SimpleTimeZone()
174 this->startYear = 0; in construct()
223 startYear = right.startYear; in operator =()
263 startYear = year; in setStartYear()
468 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) in getOffset()
768 startYear == that->startYear)); in hasSameRules()
1139 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
1177 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
Dtzrule.cpp187 int32_t startYear, in AnnualTimeZoneRule() argument
190 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
197 int32_t startYear, in AnnualTimeZoneRule() argument
200 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
/external/cldr/tools/java/org/unicode/cldr/util/
DZoneParser.java506 void addTransitions(ZoneLine lastZoneLine, ZoneLine zoneLine, int startYear, int endYear) { in addTransitions() argument
511 startYear = Math.max(startYear, lastZoneLine.untilYear); in addTransitions()
514 for (int year = startYear; year <= endYear; ++year) { in addTransitions()
525 public TransitionList getTransitions(String zoneID, int startYear, int endYear) { in getTransitions() argument
530 results.addTransitions(lastZoneLine, zoneLine, startYear, endYear); in getTransitions()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java361 private void setAndTestWholeYear(IslamicCalendar cal, int startYear) { in setAndTestWholeYear() argument
365 setAndTestCalendar(cal, startMonth, startDay, startYear); in setAndTestWholeYear()
822 for( int startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura()
823 setAndTestWholeYear(tstCal, startYear); in TestIslamicUmAlQura()
DEthiopicTest.java436 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
445 startYear = sYr; in TestAddSet()
454 public int getStartYear() { return startYear; } in TestAddSet()
DCopticTest.java379 private int startYear; in TestAddSet() field in CopticTest.TestAddSetItem
388 startYear = sYr; in TestAddSet()
397 public int getStartYear() { return startYear; } in TestAddSet()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIslamicTest.java364 private void setAndTestWholeYear(IslamicCalendar cal, int startYear) { in setAndTestWholeYear() argument
368 setAndTestCalendar(cal, startMonth, startDay, startYear); in setAndTestWholeYear()
825 for( int startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura()
826 setAndTestWholeYear(tstCal, startYear); in TestIslamicUmAlQura()
DEthiopicTest.java439 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
448 startYear = sYr; in TestAddSet()
457 public int getStartYear() { return startYear; } in TestAddSet()
DCopticTest.java382 private int startYear; in TestAddSet() field in CopticTest.TestAddSetItem
391 startYear = sYr; in TestAddSet()
400 public int getStartYear() { return startYear; } in TestAddSet()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h403 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
422 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
Dsimpletz.h864 int32_t startYear; // the year these DST rules took effect variable
/external/icu/icu4c/source/test/intltest/
Dcaltest.h251 void setAndTestWholeYear(Calendar* cal, int32_t startYear, UErrorCode& status);
Dcaltest.cpp2812 void CalendarTest::setAndTestWholeYear(Calendar* cal, int32_t startYear, UErrorCode& status) { in setAndTestWholeYear() argument
2815 setAndTestCalendar(cal, startMonth, startDay, startYear, status); in setAndTestWholeYear()
3270 for( int32_t startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura() local
3271 setAndTestWholeYear(tstCal, startYear, status); in TestIslamicUmAlQura()
Dcalregts.cpp992 int32_t numYears=40, startYear=1997, numDays=15; in test4103271() local
1013 for (int32_t j=startYear; j<=startYear+numYears; j++) { in test4103271()
2417 int32_t startYear; member
2468 …cal->set( testItemPtr->startYear + testLocalePtr->yearOffset, testItemPtr->startMonth, testItemPtr… in TestT6745()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java313 int startYear, endYear; in TestTimeRoundTrip() local
316 startYear = 1900; in TestTimeRoundTrip()
318 startYear = 1990; in TestTimeRoundTrip()
324 cal.set(startYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java316 int startYear, endYear; in TestTimeRoundTrip() local
319 startYear = 1900; in TestTimeRoundTrip()
321 startYear = 1990; in TestTimeRoundTrip()
327 cal.set(startYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java821 int startYear = a1.getStartYear(); in TestTimeZoneRuleCoverage() local
822 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
823 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear); in TestTimeZoneRuleCoverage()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java818 int startYear = a1.getStartYear(); in TestTimeZoneRuleCoverage() local
819 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
820 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear); in TestTimeZoneRuleCoverage()

12