Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DSimpleHoliday.java59 int startYear) in SimpleHoliday() argument
61 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()
122 int startYear) in SimpleHoliday() argument
124 super(name, rangeRule(startYear, 0, 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()
[all …]
DAnnualTimeZoneRule.java31 private final int startYear; field in AnnualTimeZoneRule
52 DateTimeRule dateTimeRule, int startYear, int endYear) { in AnnualTimeZoneRule() argument
55 this.startYear = startYear; in AnnualTimeZoneRule()
80 return startYear; in getStartYear()
110 if (year < startYear || year > endYear) { in getStartInYear()
170 return getStartInYear(startYear, prevRawOffset, prevDSTSavings); in getFirstStart()
191 if (year < startYear) { in getNextStart()
227 if (startYear == otherRule.startYear in isEquivalentTo()
255 buf.append(", startYear=" + startYear); in toString()
DSimpleTimeZone.java291 this.startYear = year; in setStartYear()
743 if (!useDaylight || year < startYear || era != GregorianCalendar.AD) return result; in getOffset()
947 private int startYear; // the year these DST rules took effect field in SimpleTimeZone
1008 startYear = 0; in construct()
1162 startYear == that.startYear )); in equals()
1198 startYear ^ (startYear>>>23); in hashCode()
1248 startYear == other.startYear)); in hasSameRules()
1364 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
1390 dtRule, startYear, AnnualTimeZoneRule.MAX_YEAR); in initTransitionRules()
DVTimeZone.java1008 int startYear = dfields[0]; in createRuleByRRULE()
1042 return new AnnualTimeZoneRule(tzname, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/external/icu/icu4c/source/i18n/
Dsimpletz.cpp74 startYear(0), in SimpleTimeZone()
172 this->startYear = 0; in construct()
221 startYear = right.startYear; in operator =()
261 startYear = year; in setStartYear()
466 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) in getOffset()
766 startYear == that->startYear)); in hasSameRules()
1137 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
1175 dtRule, startYear, AnnualTimeZoneRule::MAX_YEAR); in initTransitionRules()
Dtzrule.cpp185 int32_t startYear, in AnnualTimeZoneRule() argument
188 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
195 int32_t startYear, in AnnualTimeZoneRule() argument
198 fStartYear(startYear), fEndYear(endYear) { in AnnualTimeZoneRule()
Dvtzone.cpp682 int32_t startYear, startMonth, startDOM, startDOW, startDOY, startMID; in createRuleByRRULE() local
683 Grego::timeToFields(start + fromOffset, startYear, startMonth, startDOM, in createRuleByRRULE()
717 return new AnnualTimeZoneRule(zonename, rawOffset, dstSavings, adtr, startYear, endYear); in createRuleByRRULE()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIslamicTest.java349 private void setAndTestWholeYear(IslamicCalendar cal, int startYear) { in setAndTestWholeYear() argument
353 setAndTestCalendar(cal, startMonth, startDay, startYear); in setAndTestWholeYear()
810 for( int startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura()
811 setAndTestWholeYear(tstCal, startYear); in TestIslamicUmAlQura()
DEthiopicTest.java425 private int startYear; in TestAddSet() field in EthiopicTest.TestAddSetItem
434 startYear = sYr; in TestAddSet()
443 public int getStartYear() { return startYear; } in TestAddSet()
DCopticTest.java367 private int startYear; in TestAddSet() field in CopticTest.TestAddSetItem
376 startYear = sYr; in TestAddSet()
385 public int getStartYear() { return startYear; } in TestAddSet()
DCalendarRegression.java576 int numYears=40, startYear=1997, numDays=15; in Test4103271() local
592 for (int j=startYear; j<=startYear+numYears; j++) { in Test4103271()
/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);
Dsimpletz.h860 int32_t startYear; // the year these DST rules took effect variable
/external/icu/icu4c/source/test/intltest/
Dcaltest.h249 void setAndTestWholeYear(Calendar* cal, int32_t startYear, UErrorCode& status);
Dcaltest.cpp2803 void CalendarTest::setAndTestWholeYear(Calendar* cal, int32_t startYear, UErrorCode& status) { in setAndTestWholeYear() argument
2806 setAndTestCalendar(cal, startMonth, startDay, startYear, status); in setAndTestWholeYear()
3261 for( int32_t startYear = firstYear; startYear <= lastYear; startYear++) { in TestIslamicUmAlQura() local
3262 setAndTestWholeYear(tstCal, startYear, status); in TestIslamicUmAlQura()
Dcalregts.cpp984 int32_t numYears=40, startYear=1997, numDays=15; in test4103271() local
1005 for (int32_t j=startYear; j<=startYear+numYears; j++) { in test4103271()
2399 int32_t startYear; member
2450 …cal->set( testItemPtr->startYear + testLocalePtr->yearOffset, testItemPtr->startMonth, testItemPtr… in TestT6745()
Dtzrulets.cpp1273 int32_t startYear = a1->getStartYear(); in TestTimeZoneRuleCoverage() local
1274 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
1275 …icodeString)"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/format/
DTimeZoneFormatTest.java297 int startYear, endYear; in TestTimeRoundTrip() local
300 startYear = 1900; in TestTimeRoundTrip()
302 startYear = 1990; in TestTimeRoundTrip()
308 cal.set(startYear, Calendar.JANUARY, 1); in TestTimeRoundTrip()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java804 int startYear = a1.getStartYear(); in TestTimeZoneRuleCoverage() local
805 if (startYear != 2000) { in TestTimeZoneRuleCoverage()
806 … 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()