/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 | 337 int32_t saveMonth = internalGet(UCAL_MONTH); in handleComputeMonthStart() 352 if (month != internalGet(UCAL_MONTH) || in handleComputeMonthStart() 358 nonConstThis->internalSet(UCAL_MONTH, saveMonth); in handleComputeMonthStart() 371 case UCAL_MONTH: in add() 401 case UCAL_MONTH: in roll() 415 int32_t m = get(UCAL_MONTH, status); // 0-based month in roll() 705 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 | 993 /*GyM*/ UCAL_ERA, UCAL_YEAR, UCAL_MONTH, 1003 /*L*/ UCAL_MONTH, 1004 /*Q*/ UCAL_MONTH, 1005 /*q*/ UCAL_MONTH, 2352 if (!strcmp(cal.getType(),"hebrew") && field==UCAL_MONTH && bestMatch==13) { in matchString() 2660 cal.set(UCAL_MONTH,saveHebrewMonth); in subParse() 2662 cal.set(UCAL_MONTH,saveHebrewMonth-1); in subParse() 2710 cal.set(UCAL_MONTH, value); in subParse() 2712 cal.set(UCAL_MONTH, value - 1); in subParse() 2721 cal.set(UCAL_MONTH, value - 1); in subParse() [all …]
|
D | calendar.cpp | 1137 set(UCAL_MONTH, month); in set() 1147 set(UCAL_MONTH, month); in set() 1159 set(UCAL_MONTH, month); in set() 1427 (1 << UCAL_MONTH) | in computeFields() 1649 internalSet(UCAL_MONTH, getGregorianMonth()); in handleComputeFields() 1730 case UCAL_MONTH: in roll() 1736 int32_t max = getActualMaximum(UCAL_MONTH, status); in roll() 1737 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1742 set(UCAL_MONTH, mon); in roll() 1787 pinField(UCAL_MONTH,status); in roll() [all …]
|
/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/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() 599 internalSet(UCAL_MONTH, month); in handleComputeFields()
|
D | chnsecal.cpp | 337 int32_t saveMonth = internalGet(UCAL_MONTH); in handleComputeMonthStart() 352 if (month != internalGet(UCAL_MONTH) || in handleComputeMonthStart() 358 nonConstThis->internalSet(UCAL_MONTH, saveMonth); in handleComputeMonthStart() 371 case UCAL_MONTH: in add() 401 case UCAL_MONTH: in roll() 415 int32_t m = get(UCAL_MONTH, status); // 0-based month in roll() 705 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 | 968 /*GyM*/ UCAL_ERA, UCAL_YEAR, UCAL_MONTH, 978 /*L*/ UCAL_MONTH, 979 /*Q*/ UCAL_MONTH, 980 /*q*/ UCAL_MONTH, 2319 if (!strcmp(cal.getType(),"hebrew") && field==UCAL_MONTH && bestMatch==13) { in matchString() 2633 cal.set(UCAL_MONTH,saveHebrewMonth); in subParse() 2635 cal.set(UCAL_MONTH,saveHebrewMonth-1); in subParse() 2683 cal.set(UCAL_MONTH, value); in subParse() 2685 cal.set(UCAL_MONTH, value - 1); in subParse() 2694 cal.set(UCAL_MONTH, value - 1); in subParse() [all …]
|
D | calendar.cpp | 1137 set(UCAL_MONTH, month); in set() 1147 set(UCAL_MONTH, month); in set() 1159 set(UCAL_MONTH, month); in set() 1298 (1 << UCAL_MONTH) | in computeFields() 1520 internalSet(UCAL_MONTH, getGregorianMonth()); in handleComputeFields() 1601 case UCAL_MONTH: in roll() 1607 int32_t max = getActualMaximum(UCAL_MONTH, status); in roll() 1608 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1613 set(UCAL_MONTH, mon); in roll() 1658 pinField(UCAL_MONTH,status); in roll() [all …]
|
/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/chromium_org/third_party/icu/source/test/cintltst/ |
D | ccaltst.c | 779 if(ucal_get(cal, UCAL_YEAR, &status)!=1999 || ucal_get(cal, UCAL_MONTH, &status)!=2 || in TestFieldGetSet() 793 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 799 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 805 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 813 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 825 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 831 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 838 ucal_set(cal, UCAL_MONTH, UCAL_JUNE); in TestFieldGetSet() 862 ucal_set(cal, UCAL_MONTH, -3); in TestFieldGetSet() 872 ucal_set(cal, UCAL_MONTH, -3); in TestFieldGetSet() [all …]
|
/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/chromium_org/third_party/icu/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/chromium_org/third_party/icu/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 | 312 FIELD_NAME_STR( UCAL_MONTH ); in fieldName() 405 cal->roll(UCAL_MONTH, (int32_t)(1 + UCAL_DECEMBER - cal->get(UCAL_MONTH, status)), status); in TestGenericAPI() 471 case UCAL_YEAR: case UCAL_MONTH: case UCAL_DATE: in TestGenericAPI() 645 gc->get(UCAL_MONTH, status) != month || in TestRog() 756 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 762 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 768 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 776 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 784 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 790 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()
|
/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 | 333 FIELD_NAME_STR( UCAL_MONTH ); in fieldName() 426 cal->roll(UCAL_MONTH, (int32_t)(1 + UCAL_DECEMBER - cal->get(UCAL_MONTH, status)), status); in TestGenericAPI() 492 case UCAL_YEAR: case UCAL_MONTH: case UCAL_DATE: in TestGenericAPI() 666 gc->get(UCAL_MONTH, status) != month || in TestRog() 777 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 783 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 789 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 797 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 805 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() 811 c->set(UCAL_MONTH, UCAL_JUNE); in TestDisambiguation765() [all …]
|