Home
last modified time | relevance | path

Searched refs:startYear (Results 1 – 25 of 34) 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.cpp77 startYear(0), in SimpleTimeZone()
175 this->startYear = 0; in construct()
224 startYear = right.startYear; in operator =()
264 startYear = year; in setStartYear()
469 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) in getOffset()
769 startYear == that->startYear)); in hasSameRules()
1140 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
1178 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.java511 void addTransitions(ZoneLine lastZoneLine, ZoneLine zoneLine, int startYear, int endYear) { in addTransitions() argument
516 startYear = Math.max(startYear, lastZoneLine.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/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DEthiopicTest.java439 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
448 startYear = sYr; in TestAddSet()
457 public int getStartYear() { return startYear; } in TestAddSet()
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()
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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DEthiopicTest.java436 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
445 startYear = sYr; in TestAddSet()
454 public int getStartYear() { return startYear; } in TestAddSet()
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()
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/libicu/cts_headers/unicode/
Dtzrule.h405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
Dsimpletz.h868 int32_t startYear; // the year these DST rules took effect variable
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h405 const DateTimeRule& dateTimeRule, int32_t startYear, int32_t endYear);
424 DateTimeRule* dateTimeRule, int32_t startYear, int32_t endYear);
Dsimpletz.h868 int32_t startYear; // the year these DST rules took effect variable
/external/icu/icu4c/source/test/intltest/
Dcaltest.h253 void setAndTestWholeYear(Calendar* cal, int32_t startYear, UErrorCode& status);
/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/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/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