Home
last modified time | relevance | path

Searched refs:startYear (Results 1 – 25 of 39) 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()
745 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
950 private int startYear; // the year these DST rules took effect field in SimpleTimeZone
1012 startYear = 0; in construct()
1166 startYear == that.startYear )); in equals()
1202 startYear ^ (startYear>>>23); in hashCode()
1252 startYear == other.startYear)); in hasSameRules()
1368 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1394 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()
724 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
929 private int startYear; // the year these DST rules took effect field in SimpleTimeZone
988 startYear = 0; in construct()
1141 startYear == that.startYear )); in equals()
1176 startYear ^ (startYear>>>23); in hashCode()
1224 startYear == other.startYear)); in hasSameRules()
1337 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1363 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/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DIslamicTest.java359 private void setAndTestWholeYear(IslamicCalendar cal, int startYear) { in setAndTestWholeYear() argument
363 setAndTestCalendar(cal, startMonth, startDay, startYear); in setAndTestWholeYear()
820 for( int startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura()
821 setAndTestWholeYear(tstCal, startYear); in TestIslamicUmAlQura()
DCopticTest.java377 private int startYear; in TestAddSet() field in CopticTest.TestAddSetItem
386 startYear = sYr; in TestAddSet()
395 public int getStartYear() { return startYear; } in TestAddSet()
DEthiopicTest.java434 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
443 startYear = sYr; in TestAddSet()
452 public int getStartYear() { return startYear; } in TestAddSet()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java358 private void setAndTestWholeYear(IslamicCalendar cal, int startYear) { in setAndTestWholeYear() argument
362 setAndTestCalendar(cal, startMonth, startDay, startYear); in setAndTestWholeYear()
819 for( int startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura()
820 setAndTestWholeYear(tstCal, startYear); in TestIslamicUmAlQura()
DCopticTest.java376 private int startYear; in TestAddSet() field in CopticTest.TestAddSetItem
385 startYear = sYr; in TestAddSet()
394 public int getStartYear() { return startYear; } in TestAddSet()
DEthiopicTest.java433 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
442 startYear = sYr; in TestAddSet()
451 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.h862 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);
Dcalregts.cpp986 int32_t numYears=40, startYear=1997, numDays=15; in test4103271() local
1007 for (int32_t j=startYear; j<=startYear+numYears; j++) { in test4103271()
2401 int32_t startYear; member
2452 …cal->set( testItemPtr->startYear + testLocalePtr->yearOffset, testItemPtr->startMonth, testItemPtr… in TestT6745()
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()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DTimeZoneFormatTest.java306 int startYear, endYear; in TestTimeRoundTrip() local
309 startYear = 1900; in TestTimeRoundTrip()
311 startYear = 1990; in TestTimeRoundTrip()
317 cal.set(startYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DTimeZoneFormatTest.java307 int startYear, endYear; in TestTimeRoundTrip() local
310 startYear = 1900; in TestTimeRoundTrip()
312 startYear = 1990; in TestTimeRoundTrip()
318 cal.set(startYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java815 int startYear = a1.getStartYear(); in TestTimeZoneRuleCoverage() local
816 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
817 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear); in TestTimeZoneRuleCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java816 int startYear = a1.getStartYear(); in TestTimeZoneRuleCoverage() local
817 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
818 … errln("FAIL: The start year of AnnualTimeZoneRule a1 must be 2000 - returned: " + startYear); in TestTimeZoneRuleCoverage()
/external/icu/icu4c/source/tools/tzcode/
Dzic.c180 int ruleIndex, int startYear);
538 int ruleIndex, int startYear) { in emit_icu_zone() argument
540 fprintf(f, "zone %s %d %d %s", zoneName, zoneOffset, startYear, rule->r_name); in emit_icu_zone()
544 zoneName, zoneOffset, startYear, in emit_icu_zone()

12