Lines Matching refs:ucal_get
600 dateBit = ucal_get(caldef2, UCAL_MILLISECOND, &status); in TestGetSetDateAPI()
618 dateBit = ucal_get(caldef3, UCAL_DAY_OF_MONTH, &status); in TestGetSetDateAPI()
642 hour=ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status); in TestGetSetDateAPI()
661 if(hour == ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) in TestGetSetDateAPI()
663 …else if((hour-8 + 1) != ucal_get(caldef2, UCAL_HOUR_OF_DAY, &status)) /*because it is not in dayli… in TestGetSetDateAPI()
680 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status); in TestGetSetDateAPI()
697 zoneOffset = ucal_get(caldef2, UCAL_ZONE_OFFSET, &status); in TestGetSetDateAPI()
814 if(ucal_get(cal, UCAL_YEAR, &status)!=1999 || ucal_get(cal, UCAL_MONTH, &status)!=2 || in TestFieldGetSet()
815 ucal_get(cal, UCAL_DATE, &status)!=12 || ucal_get(cal, UCAL_HOUR, &status)!=5) in TestFieldGetSet()
817 …else if(ucal_get(cal, UCAL_DAY_OF_WEEK_IN_MONTH, &status)!=2 || ucal_get(cal, UCAL_DAY_OF_WEEK, &s… in TestFieldGetSet()
818 …|| ucal_get(cal, UCAL_WEEK_OF_MONTH, &status)!=2 || ucal_get(cal, UCAL_WEEK_OF_YEAR, &status)!= 11) in TestFieldGetSet()
1120 hr = ucal_get(cal, UCAL_HOUR_OF_DAY, &status); in TestAddRollExtensive()
1127 hr = ucal_get(cal, UCAL_HOUR_OF_DAY, &status); in TestAddRollExtensive()
1161 val = ucal_get(cal, UCAL_DAY_OF_WEEK, &status); in TestGetLimits()
1172 val = ucal_get(cal, UCAL_DAY_OF_WEEK_IN_MONTH, &status); in TestGetLimits()
1199 val=ucal_get(cal, UCAL_HOUR_OF_DAY, &status); in TestGetLimits()
1264 initialDOW = ucal_get(cal, UCAL_DAY_OF_WEEK, &status); in TestDOWProgression()
1279 newDOW = ucal_get(cal, UCAL_DAY_OF_WEEK, &status); in TestDOWProgression()
1361 offset = ucal_get(cal, UCAL_ZONE_OFFSET, &status); in testZones()
1362 offset += ucal_get(cal, UCAL_DST_OFFSET, &status); in testZones()
1371 utc = ((ucal_get(cal, UCAL_HOUR_OF_DAY, &status) * 60 + in testZones()
1372 ucal_get(cal, UCAL_MINUTE, &status)) * 60 + in testZones()
1373 ucal_get(cal, UCAL_SECOND, &status)) * 1000 + in testZones()
1374 ucal_get(cal, UCAL_MILLISECOND, &status) - offset; in testZones()
1410 if (ucal_get(c, UCAL_YEAR, &status) != y || in checkDateTime()
1411 ucal_get(c, UCAL_MONTH, &status) != m || in checkDateTime()
1412 ucal_get(c, UCAL_DATE, &status) != d || in checkDateTime()
1413 ucal_get(c, UCAL_HOUR, &status) != hr || in checkDateTime()
1414 ucal_get(c, UCAL_MINUTE, &status) != min || in checkDateTime()
1415 ucal_get(c, UCAL_SECOND, &status) != sec || in checkDateTime()
1416 ucal_get(c, UCAL_MILLISECOND, &status) != ms) { in checkDateTime()
1419 ucal_get(c, UCAL_YEAR, &status), in checkDateTime()
1420 ucal_get(c, UCAL_MONTH, &status) + 1, in checkDateTime()
1421 ucal_get(c, UCAL_DATE, &status), in checkDateTime()
1422 ucal_get(c, UCAL_HOUR, &status), in checkDateTime()
1423 ucal_get(c, UCAL_MINUTE, &status) + 1, in checkDateTime()
1424 ucal_get(c, UCAL_SECOND, &status), in checkDateTime()
1425 ucal_get(c, UCAL_MILLISECOND, &status) ); in checkDateTime()
1442 if (ucal_get(c,UCAL_YEAR, &status) != y || in checkDate()
1443 ucal_get(c, UCAL_MONTH, &status) != m || in checkDate()
1444 ucal_get(c, UCAL_DATE, &status) != d) { in checkDate()
1447 ucal_get(c, UCAL_YEAR, &status), in checkDate()
1448 ucal_get(c, UCAL_MONTH, &status) + 1, in checkDate()
1449 ucal_get(c, UCAL_DATE, &status) ); in checkDate()
1470 if (ucal_get(c, UCAL_YEAR, &status) == year && in verify1()
1471 ucal_get(c, UCAL_MONTH, &status) == month && in verify1()
1472 ucal_get(c, UCAL_DATE, &status) == day) { in verify1()
1507 if (ucal_get(c, UCAL_YEAR, &status) == year && in verify2()
1508 ucal_get(c, UCAL_MONTH, &status) == month && in verify2()
1509 ucal_get(c, UCAL_DATE, &status) == day && in verify2()
1510 ucal_get(c, UCAL_HOUR, &status) == hour && in verify2()
1511 ucal_get(c, UCAL_MINUTE, &status) == min && in verify2()
1512 ucal_get(c, UCAL_SECOND, &status) == sec && in verify2()
1513 ucal_get(c, UCAL_AM_PM, &status) == am_pm ){ in verify2()
2135 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2137 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2150 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2152 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2167 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2168 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2182 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2183 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2214 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2216 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2228 yrBefore = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2230 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2244 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2245 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2261 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2262 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2274 eraNow = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2282 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2283 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2299 yrAfter = ucal_get(ucalTest, UCAL_YEAR, &status); in TestAddRollEra0AndEraBounds()
2300 eraAfter = ucal_get(ucalTest, UCAL_ERA, &status); in TestAddRollEra0AndEraBounds()
2511 int32_t sEra = ucal_get(jCal, UCAL_ERA, &status); // Don't assume era number for Showa in TestJpnCalAddSetNextEra()
2521 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra()
2531 eYear = ucal_get(jCal, UCAL_EXTENDED_YEAR, &status); in TestJpnCalAddSetNextEra()