Home
last modified time | relevance | path

Searched refs:UCAL_JANUARY (Results 1 – 21 of 21) sorted by relevance

/external/icu/icu4c/source/test/intltest/
Dtzrulets.cpp237 UDate start = getUTCMillis(STARTYEAR, UCAL_JANUARY, 1); in TestSimpleRuleBasedTimeZone()
238 UDate until = getUTCMillis(STARTYEAR + 10, UCAL_JANUARY, 1); in TestSimpleRuleBasedTimeZone()
291 cal->set(1000, UCAL_JANUARY, 1); in TestSimpleRuleBasedTimeZone()
467 dtr = new DateTimeRule(UCAL_JANUARY, 6, in TestHistoricalRuleBasedTimeZone()
513 UDate jan1_1950 = getUTCMillis(1950, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone()
514 UDate jan1_1967 = getUTCMillis(1971, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone()
515 UDate jan1_2010 = getUTCMillis(2010, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone()
623 UDate lo = getUTCMillis(TESTYEARS[i][0], UCAL_JANUARY, 1); in TestOlsonTransition()
624 UDate hi = getUTCMillis(TESTYEARS[i][1], UCAL_JANUARY, 1); in TestOlsonTransition()
681 UDate start = getUTCMillis(STARTYEARS[idx], UCAL_JANUARY, 1); in TestRBTZTransition()
[all …]
Dtzregts.cpp140 GregorianCalendar cal(1997, UCAL_JANUARY, 31, status); in Test4073215()
596 const int32_t GOOD_MONTH = UCAL_JANUARY; in Test4154542()
603 GOOD, UCAL_JANUARY, -5, UCAL_SUNDAY, 0, in Test4154542()
607 BAD, UCAL_JANUARY, -6, UCAL_SUNDAY, 0, in Test4154542()
613 BAD, UCAL_JANUARY-1, 1, UCAL_SUNDAY, 0, in Test4154542()
729 UCAL_JANUARY, 1, 0, 0, in Test4154525()
781 GOOD, GOOD_ERA, GOOD_YEAR, UCAL_JANUARY, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650()
783 BAD, GOOD_ERA, GOOD_YEAR, UCAL_JANUARY-1, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650()
786 GOOD, GOOD_ERA, GOOD_YEAR, UCAL_JANUARY, 1, GOOD_DOW, GOOD_TIME, in Test4154650()
787 GOOD, GOOD_ERA, GOOD_YEAR, UCAL_JANUARY, 31, GOOD_DOW, GOOD_TIME, in Test4154650()
[all …]
Dcalregts.cpp166 cal->set(97, UCAL_JANUARY, 1, h, 34); in test4074758()
217 cal2->set(2012,UCAL_JANUARY,06); in Test9019()
772 cal->set(1997,UCAL_JANUARY,1); in test4086724()
775 cal->set(1997,UCAL_JANUARY,8); in test4086724()
1081 makeDate(1998, UCAL_JANUARY, 10), in test4103271()
1083 makeDate(1999, UCAL_JANUARY, 1) in test4103271()
1155 makeDate(1998, UCAL_DECEMBER, 25), makeDate(1999, UCAL_JANUARY, 1), in test4103271()
1156 makeDate(1997, UCAL_DECEMBER, 28), makeDate(1998, UCAL_JANUARY, 4), in test4103271()
1158 makeDate(1999, UCAL_JANUARY, 2), makeDate(1998, UCAL_JANUARY, 3), in test4103271()
1274 UDate epoch = makeDate(1970, UCAL_JANUARY, 1); in test4108764()
[all …]
Dtzfmttst.cpp109 cal->set(1900, UCAL_JANUARY, 1); in TestTimeZoneRoundTrip()
111 cal->set(2040, UCAL_JANUARY, 1); in TestTimeZoneRoundTrip()
627 cal->set(1900, UCAL_JANUARY, 1); in TestTimeRoundTrip()
629 cal->set(1990, UCAL_JANUARY, 1); in TestTimeRoundTrip()
633 cal->set(2015, UCAL_JANUARY, 1); in TestTimeRoundTrip()
Dincaltst.cpp381 …JapaneseCalendar_SHOWA, 64, 1989, UCAL_JANUARY, 7, // Test current era transition (differe… in TestJapanese()
382 JapaneseCalendar_HEISEI, 1, 1989, UCAL_JANUARY, 8, in TestJapanese()
383 JapaneseCalendar_HEISEI, 1, 1989, UCAL_JANUARY, 9, in TestJapanese()
Ddtfmrgts.cpp828 date(70, UCAL_JANUARY, 1, 10, 30), in Test4104136()
1140 date(2001-1900, UCAL_JANUARY, 23), in Test4182066()
1142 date( -9-1900, UCAL_JANUARY, 23), in Test4182066()
Dtztest.cpp214 testUsingBinarySearch(*zone, date(90, UCAL_JANUARY, 1), date(90, UCAL_JUNE, 15), marchOne); in TestRuleAPI()
1450 zone2->setStartRule(UCAL_JANUARY, 1, 0, 0, status); in TestDisplayName()
1563 int32_t offset = tz->getOffset(GregorianCalendar::AD, 1998, UCAL_JANUARY, 1, in TestDSTSavings()
1576 offset = tz->getOffset(GregorianCalendar::AD, 1998, UCAL_JANUARY, 1, in TestDSTSavings()
Dtzbdtest.cpp453 UDate d = date(year - 1900, UCAL_JANUARY, 1); in findBoundariesStepwise()
Dcaltest.cpp1322 calendar->set(1993, UCAL_JANUARY, 4); in TestAddSetGet0610()
1333 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); in TestAddSetGet0610()
1345 Calendar *calendar = new GregorianCalendar(1993, UCAL_JANUARY, 4, status); in TestAddSetGet0610()
1828 if (mon == UCAL_JANUARY) { in TestWOY()
2367 cal->set(TEST_DATA[j][0], UCAL_JANUARY, 1); in TestISO8601()
Ddtfmttst.cpp3767 gcal.set(1970, UCAL_JANUARY, 1, 12, 00); in Test6880()
/external/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h91 cal->set(1900, UCAL_JANUARY, 1); in call()
93 cal->set(2040, UCAL_JANUARY, 1); in call()
/external/icu/icu4c/source/i18n/
Dsimpletz.cpp403 if(month < UCAL_JANUARY || month > UCAL_DECEMBER) { in getOffset()
423 if (month < UCAL_JANUARY in getOffset()
447 || month < UCAL_JANUARY in getOffset()
875 if (startMonth < UCAL_JANUARY || startMonth > UCAL_DECEMBER) { in decodeStartRule()
930 if (endMonth < UCAL_JANUARY || endMonth > UCAL_DECEMBER) { in decodeEndRule()
Dolsontz.cpp332 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) { in getOffset()
356 || month < UCAL_JANUARY in getOffset()
Dgregocal.cpp872 if (internalGet(UCAL_MONTH) == UCAL_JANUARY) { in roll()
Drbtz.cpp368 if (month < UCAL_JANUARY || month > UCAL_DECEMBER) { in getOffset()
Dvtzone.cpp847 month = month < UCAL_JANUARY ? UCAL_DECEMBER : month; in toWallTimeRule()
851 month = month > UCAL_DECEMBER ? UCAL_JANUARY : month; in toWallTimeRule()
Dcalendar.cpp3302 int32_t m = internalGet(UCAL_MONTH, UCAL_JANUARY); in handleComputeJulianDay()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h478 UCAL_JANUARY, enumerator
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c694 ucal_setDate(caldef, 1999, UCAL_JANUARY, 10, &status); in TestGetSetDateAPI()
695 verify1("1999 10th day of January is :", caldef, datdef, 1999, UCAL_JANUARY, 10); in TestGetSetDateAPI()
862 verify1("1999 1st day of the year =", cal, datdef, 1999, UCAL_JANUARY, 1); in TestFieldGetSet()
1226 ucal_setDate(cal, 1999, UCAL_JANUARY, 1, &status); in TestDOWProgression()
Dcdattst.c994 ucal_setDateTime(tempCal, startCentury + twoDigitCenturyStart, UCAL_JANUARY, 1, 0, 0, 0, &ec); in TestCalendarDateParse()
999 ucal_setDateTime(calendar, twoDigitCenturyStart, UCAL_JANUARY, 1, 0, 0, 0, &ec); in TestCalendarDateParse()
/external/icu/icu4c/source/tools/toolutil/
Dudbgutil.cpp117 FIELD_NAME_STR( LEN_UCAL, UCAL_JANUARY ),