/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 217 case UCAL_MONTH: in add() 224 int32_t month = get(UCAL_MONTH, status); in add() 256 set(UCAL_MONTH, month); in add() 314 case UCAL_MONTH: in roll() 316 int32_t month = get(UCAL_MONTH, status); in roll() 333 set(UCAL_MONTH, (newMonth + 13) % 13); in roll() 533 …if (field == UCAL_MONTH && !isLeapYear(handleGetExtendedYear()) && internalGet(UCAL_MONTH) == ADAR… in validateField() 606 internalSet(UCAL_MONTH, month); in handleComputeFields()
|
D | chnsecal.cpp | 340 int32_t saveMonth = internalGet(UCAL_MONTH); in handleComputeMonthStart() 355 if (month != internalGet(UCAL_MONTH) || in handleComputeMonthStart() 361 nonConstThis->internalSet(UCAL_MONTH, saveMonth); in handleComputeMonthStart() 374 case UCAL_MONTH: in add() 404 case UCAL_MONTH: in roll() 418 int32_t m = get(UCAL_MONTH, status); // 0-based month in roll() 708 internalSet(UCAL_MONTH, month-1); // Convert from 1-based to 0-based in computeChineseFields()
|
D | japancal.cpp | 412 …, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UC… in handleComputeFields() 419 diff = internalGet(UCAL_MONTH) - (kEraInfo[i].month - 1); in handleComputeFields() 421 …fprintf(stderr, "diff now %d (M) = %d - %d - 1\n", diff, internalGet(UCAL_MONTH), kEraInfo[i].mon… in handleComputeFields()
|
D | gregocal.cpp | 229 set(UCAL_MONTH, month); in GregorianCalendar() 244 set(UCAL_MONTH, month); in GregorianCalendar() 262 set(UCAL_MONTH, month); in GregorianCalendar() 435 internalSet(UCAL_MONTH, month); in handleComputeFields() 634 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth() 660 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields() 840 int32_t max = monthLength(internalGet(UCAL_MONTH)); in roll() 872 if (internalGet(UCAL_MONTH) == UCAL_JANUARY) { in roll()
|
D | smpdtfmt.cpp | 1149 /*GyM*/ UCAL_ERA, UCAL_YEAR, UCAL_MONTH, 1159 /*L*/ UCAL_MONTH, 1160 /*Q*/ UCAL_MONTH, 1161 /*q*/ UCAL_MONTH, 2537 if (!strcmp(cal.getType(),"hebrew") && field==UCAL_MONTH && bestMatch==13) { in matchString() 2817 cal.set(UCAL_MONTH,saveHebrewMonth); in subParse() 2819 cal.set(UCAL_MONTH,saveHebrewMonth-1); in subParse() 2867 cal.set(UCAL_MONTH, value); in subParse() 2869 cal.set(UCAL_MONTH, value - 1); in subParse() 2878 cal.set(UCAL_MONTH, value - 1); in subParse() [all …]
|
D | calendar.cpp | 1200 set(UCAL_MONTH, month); in set() 1210 set(UCAL_MONTH, month); in set() 1222 set(UCAL_MONTH, month); in set() 1490 (1 << UCAL_MONTH) | in computeFields() 1712 internalSet(UCAL_MONTH, getGregorianMonth()); in handleComputeFields() 1793 case UCAL_MONTH: in roll() 1799 int32_t max = getActualMaximum(UCAL_MONTH, status); in roll() 1800 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1805 set(UCAL_MONTH, mon); in roll() 1850 pinField(UCAL_MONTH,status); in roll() [all …]
|
D | dtitvfmt.cpp | 302 } else if ( fromCalendar.get(UCAL_MONTH, status) != in format() 303 toCalendar.get(UCAL_MONTH, status) ) { in format() 304 field = UCAL_MONTH; in format() 659 setPatternInfo(UCAL_MONTH, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 684 setPatternInfo(UCAL_MONTH, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 704 if ( !fieldExistsInSkeleton(UCAL_MONTH, dateSkeleton) ) { in initializePattern() 707 setFallbackPattern(UCAL_MONTH, skeleton, status); in initializePattern() 986 UBool extended = setIntervalPattern(UCAL_MONTH, skeleton, bestSkeleton, in setSeparateDateTimePtn()
|
D | coptccal.cpp | 92 internalSet(UCAL_MONTH, month); in handleComputeFields()
|
D | ethpccal.cpp | 123 internalSet(UCAL_MONTH, month); in handleComputeFields()
|
D | persncal.cpp | 229 internalSet(UCAL_MONTH, month); in handleComputeFields()
|
D | udat.cpp | 50 UCAL_MONTH, // UDAT_MONTH_FIELD = 2 74 UCAL_MONTH, // UDAT_STANDALONE_MONTH_FIELD = 26 75 UCAL_MONTH, // UDAT_QUARTER_FIELD = 27 76 UCAL_MONTH, // UDAT_STANDALONE_QUARTER_FIELD = 28
|
/external/icu/icu4c/source/samples/datecal/ |
D | ccal.c | 27 ucal_set(cal, UCAL_MONTH, UCAL_FEBRUARY); /* FEBRUARY */ in c_main() 39 ucal_get(cal, UCAL_MONTH, &status) + 1, in c_main() 40 ucal_get(cal, UCAL_MONTH, &status), in c_main()
|
D | cal.cpp | 37 gc->get(UCAL_MONTH, status) + 1, in cpp_main() 38 gc->get(UCAL_MONTH, status), in cpp_main()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 780 if(ucal_get(cal, UCAL_YEAR, &status)!=1999 || ucal_get(cal, UCAL_MONTH, &status)!=2 || in TestFieldGetSet() 794 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 800 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 806 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 814 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 826 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 832 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 839 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 863 ucal_set(cal, UCAL_MONTH, -3); in TestFieldGetSet() 873 ucal_set(cal, UCAL_MONTH, -3); in TestFieldGetSet() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 220 cal1->add(UCAL_MONTH,8,status); in Test9019() 236 log(UnicodeString("") + cal->get(UCAL_MONTH, status)) ; in printdate() 338 calendar->set(UCAL_MONTH,3); in test4040996() 342 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996() 352 logln(UnicodeString("MONTH: ") + calendar->get(UCAL_MONTH, status)); in test4040996() 357 if (calendar->get(UCAL_MONTH, status) != 3 || in test4040996() 639 cal->set(UCAL_MONTH, UCAL_NOVEMBER); // change a field in test4071385() 661 foo1->get(UCAL_MONTH, status), in test4073929() 670 foo1->get(UCAL_MONTH, status), in test4073929() 679 foo1->get(UCAL_MONTH, status), in test4073929() [all …]
|
D | caltest.cpp | 341 FIELD_NAME_STR( UCAL_MONTH ); in fieldName() 434 cal->roll(UCAL_MONTH, (int32_t)(1 + UCAL_DECEMBER - cal->get(UCAL_MONTH, status)), status); in TestGenericAPI() 500 case UCAL_YEAR: case UCAL_MONTH: case UCAL_DATE: in TestGenericAPI() 677 gc->get(UCAL_MONTH, status) != month || in TestRog() 788 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 794 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 800 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 808 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 816 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 822 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() [all …]
|
D | callimts.cpp | 203 int32_t maxM = cal.getMaximum(UCAL_MONTH) + 1; in doTheoreticalLimitsTest() 204 int32_t lmaxM = cal.getLeastMaximum(UCAL_MONTH) + 1; in doTheoreticalLimitsTest() 279 UCAL_MONTH, in doLimitsTest() 463 + "/" + (cal.get(UCAL_MONTH, status) + 1) in ymdToString()
|
D | tzbdtest.cpp | 213 gc->get(UCAL_YEAR, status), gc->get(UCAL_MONTH, status), in verifyDST() 251 cal.get(UCAL_MONTH, status) == month && in verifyMapping() 256 (cal.get(UCAL_MONTH, status)+1) + "/" + in verifyMapping() 262 (cal.get(UCAL_MONTH, status)+1) + "/" + in verifyMapping()
|
D | astrotst.cpp | 272 cal->set(UCAL_MONTH, UCAL_APRIL); in TestSunriseTimes() 385 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics() 394 cal3->set(UCAL_MONTH, UCAL_JULY); in TestBasics()
|
D | calcasts.cpp | 63 checkField(cal, UCAL_MONTH, cases[i].month - 1,status); in doTestCases() 75 cal->set(UCAL_MONTH, cases[i].month - 1); in doTestCases()
|
D | caltztst.cpp | 226 m = cal->get(UCAL_MONTH, status); in dateToFields()
|
D | dtfmtrtts.cpp | 428 || getField(d[0], UCAL_MONTH) == UCAL_APRIL in test() 429 || getField(d[0], UCAL_MONTH) == UCAL_OCTOBER)) in test()
|
D | incaltst.cpp | 206 …(cal.get(UCAL_MONTH, status)+1) + "/" + cal.get(UCAL_DATE, status) + " (" + UnicodeString(cal.get… in quasiGregorianTest() 210 (cal.get(UCAL_MONTH, status)+1) + "/" + cal.get(UCAL_DATE, status) + in quasiGregorianTest() 816 int32_t computedMonth = cal->get(UCAL_MONTH, status); in TestPersian()
|
/external/icu/icu4c/source/samples/cal/ |
D | cal.c | 261 ucal_set(c, UCAL_MONTH, month); in cal() 617 ucal_set(left_cal, UCAL_MONTH, i); in print_year() 619 ucal_set(right_cal, UCAL_MONTH, i + 1); in print_year() 646 left_month = ucal_get(left_cal, UCAL_MONTH, status); in print_year() 647 right_month = ucal_get(right_cal, UCAL_MONTH, status); in print_year() 689 left_month = ucal_get(left_cal, UCAL_MONTH, status); in print_year() 737 right_month = ucal_get(right_cal, UCAL_MONTH, status); in print_year()
|
/external/icu/icu4c/source/samples/dtitvfmtsample/ |
D | dtitvfmtsample.cpp | 113 dtitvinf.setIntervalPattern("yMMMd", UCAL_MONTH, "y 'Diff' MMM d --- MMM d",status); in dtitvfmtCustomized()
|