/external/icu/icu4c/source/samples/datecal/ |
D | ccal.c | 28 ucal_set(cal, UCAL_DATE, 26); in c_main() 41 ucal_get(cal, UCAL_DATE, &status)); in c_main() 47 ucal_add(cal, UCAL_DATE, 1, &status); in c_main()
|
D | cal.cpp | 39 gc->get(UCAL_DATE, status)); in cpp_main() 46 gc->add(UCAL_DATE, 1, status); in cpp_main()
|
/external/chromium_org/third_party/icu/source/samples/datecal/ |
D | ccal.c | 28 ucal_set(cal, UCAL_DATE, 26); in c_main() 41 ucal_get(cal, UCAL_DATE, &status)); in c_main() 47 ucal_add(cal, UCAL_DATE, 1, &status); in c_main()
|
D | cal.cpp | 39 gc->get(UCAL_DATE, status)); in cpp_main() 46 gc->add(UCAL_DATE, 1, status); in cpp_main()
|
/external/icu/icu4c/source/samples/cal/ |
D | cal.c | 473 ucal_set(c, UCAL_DATE, 1); in print_month() 495 day = ucal_get(c, UCAL_DATE, status); in print_month() 519 ucal_add(c, UCAL_DATE, 1, status); in print_month() 520 day = ucal_get(c, UCAL_DATE, status); in print_month() 618 ucal_set(left_cal, UCAL_DATE, 1); in print_year() 620 ucal_set(right_cal, UCAL_DATE, 1); in print_year() 643 left_day = ucal_get(left_cal, UCAL_DATE, status); in print_year() 644 right_day = ucal_get(right_cal, UCAL_DATE, status); in print_year() 685 ucal_add(left_cal, UCAL_DATE, 1, status); in print_year() 686 left_day = ucal_get(left_cal, UCAL_DATE, status); in print_year() [all …]
|
/external/chromium_org/third_party/icu/source/samples/cal/ |
D | cal.c | 473 ucal_set(c, UCAL_DATE, 1); in print_month() 495 day = ucal_get(c, UCAL_DATE, status); in print_month() 519 ucal_add(c, UCAL_DATE, 1, status); in print_month() 520 day = ucal_get(c, UCAL_DATE, status); in print_month() 618 ucal_set(left_cal, UCAL_DATE, 1); in print_year() 620 ucal_set(right_cal, UCAL_DATE, 1); in print_year() 643 left_day = ucal_get(left_cal, UCAL_DATE, status); in print_year() 644 right_day = ucal_get(right_cal, UCAL_DATE, status); in print_year() 685 ucal_add(left_cal, UCAL_DATE, 1, status); in print_year() 686 left_day = ucal_get(left_cal, UCAL_DATE, status); in print_year() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | calregts.cpp | 192 cal1->add(UCAL_DATE, 1, status) ; in test4028518() 238 int32_t date = cal->get(UCAL_DATE, status) + 1 ; in printdate() 339 calendar->set(UCAL_DATE,18); in test4040996() 344 calendar->get(UCAL_DATE, status)); in test4040996() 354 calendar->get(UCAL_DATE, status)); in test4040996() 358 calendar->get(UCAL_DATE, status) != 18 || in test4040996() 551 cal->add(UCAL_DATE, 1, status); in getAssociatedDate() 662 foo1->get(UCAL_DATE, status), in test4073929() 667 foo1->add(UCAL_DATE, + 1, status); in test4073929() 671 foo1->get(UCAL_DATE, status), in test4073929() [all …]
|
D | caltest.cpp | 315 FIELD_NAME_STR( UCAL_DATE ); in fieldName() 471 case UCAL_YEAR: case UCAL_MONTH: case UCAL_DATE: in TestGenericAPI() 642 for (int32_t i = 0; i < 9; i++, gc->add(UCAL_DATE, 1, status)) { in TestRog() 646 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong"); in TestRog() 757 c->set(UCAL_DATE, 3); in TestDisambiguation765() 857 int32_t d = c->get(UCAL_DATE, status); in verify765() 916 cal->get(UCAL_DATE, status), in test4064654() 953 cal->add(UCAL_DATE, - 5, status); in TestAddSetOrder621() 986 cal->add(UCAL_DATE, - 5, status); in TestAddSetOrder621() 1027 temp->add(UCAL_DATE, 1, status); in TestAdd520() [all …]
|
D | tzbdtest.cpp | 214 gc->get(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), in verifyDST() 252 cal.get(UCAL_DATE, status) == dom && in verifyMapping() 257 cal.get(UCAL_DATE, status) + " " + in verifyMapping() 263 cal.get(UCAL_DATE, status) + " " + in verifyMapping()
|
D | dtifmtts.cpp | 173 dii->setIntervalPattern(ctou("yMd"), UCAL_DATE, ctou("M/d/y \\u2013 d"), status); in testAPI() 1169 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, expected, ec); in testSetIntervalPatternNoSideEffect() 1170 dtitvinf->setIntervalPattern(ctou("yMd"), UCAL_DATE, ctou("M/d/y \\u2013 d"), ec); in testSetIntervalPatternNoSideEffect() 1181 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, actual, ec); in testSetIntervalPatternNoSideEffect()
|
D | astrotst.cpp | 347 cal->add(UCAL_DATE, 1, status); in TestSunriseTimes() 388 cal3->set(UCAL_DATE, 2); in TestBasics() 397 cal3->set(UCAL_DATE, 27); in TestBasics()
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 192 cal1->add(UCAL_DATE, 1, status) ; in test4028518() 238 int32_t date = cal->get(UCAL_DATE, status) + 1 ; in printdate() 339 calendar->set(UCAL_DATE,18); in test4040996() 344 calendar->get(UCAL_DATE, status)); in test4040996() 354 calendar->get(UCAL_DATE, status)); in test4040996() 358 calendar->get(UCAL_DATE, status) != 18 || in test4040996() 551 cal->add(UCAL_DATE, 1, status); in getAssociatedDate() 662 foo1->get(UCAL_DATE, status), in test4073929() 667 foo1->add(UCAL_DATE, + 1, status); in test4073929() 671 foo1->get(UCAL_DATE, status), in test4073929() [all …]
|
D | caltest.cpp | 336 FIELD_NAME_STR( UCAL_DATE ); in fieldName() 492 case UCAL_YEAR: case UCAL_MONTH: case UCAL_DATE: in TestGenericAPI() 663 for (int32_t i = 0; i < 9; i++, gc->add(UCAL_DATE, 1, status)) { in TestRog() 667 gc->get(UCAL_DATE, status) != (date + i)) errln("FAIL: Date wrong"); in TestRog() 778 c->set(UCAL_DATE, 3); in TestDisambiguation765() 878 int32_t d = c->get(UCAL_DATE, status); in verify765() 937 cal->get(UCAL_DATE, status), in test4064654() 974 cal->add(UCAL_DATE, - 5, status); in TestAddSetOrder621() 1007 cal->add(UCAL_DATE, - 5, status); in TestAddSetOrder621() 1048 temp->add(UCAL_DATE, 1, status); in TestAdd520() [all …]
|
D | tzbdtest.cpp | 214 gc->get(UCAL_DATE, status), (uint8_t)gc->get(UCAL_DAY_OF_WEEK, status), in verifyDST() 252 cal.get(UCAL_DATE, status) == dom && in verifyMapping() 257 cal.get(UCAL_DATE, status) + " " + in verifyMapping() 263 cal.get(UCAL_DATE, status) + " " + in verifyMapping()
|
D | dtifmtts.cpp | 173 dii->setIntervalPattern(ctou("yMd"), UCAL_DATE, ctou("M/d/y \\u2013 d"), status); in testAPI() 1169 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, expected, ec); in testSetIntervalPatternNoSideEffect() 1170 dtitvinf->setIntervalPattern(ctou("yMd"), UCAL_DATE, ctou("M/d/y \\u2013 d"), ec); in testSetIntervalPatternNoSideEffect() 1181 dtitvinf->getIntervalPattern(ctou("yMd"), UCAL_DATE, actual, ec); in testSetIntervalPatternNoSideEffect()
|
/external/icu/icu4c/source/i18n/ |
D | gregocal.cpp | 230 set(UCAL_DATE, date); in GregorianCalendar() 245 set(UCAL_DATE, date); in GregorianCalendar() 263 set(UCAL_DATE, date); in GregorianCalendar() 635 int32_t dom = internalGet(UCAL_DATE); in pinDayOfMonth() 637 set(UCAL_DATE, monthLen); in pinDayOfMonth() 648 if (field != UCAL_DATE && in validateFields() 657 if (isSet(UCAL_DATE)) { in validateFields() 658 int32_t date = internalGet(UCAL_DATE); in validateFields() 659 if (date < getMinimum(UCAL_DATE) || in validateFields()
|
D | dtitvfmt.cpp | 305 } else if ( fromCalendar.get(UCAL_DATE, status) != in format() 306 toCalendar.get(UCAL_DATE, status) ) { in format() 307 field = UCAL_DATE; in format() 669 setPatternInfo(UCAL_DATE, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 694 setPatternInfo(UCAL_DATE, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 710 if ( !fieldExistsInSkeleton(UCAL_DATE, dateSkeleton) ) { in initializePattern() 713 setFallbackPattern(UCAL_DATE, skeleton, status); in initializePattern() 994 setIntervalPattern(UCAL_DATE, skeleton, bestSkeleton, differenceInfo, in setSeparateDateTimePtn()
|
D | japancal.cpp | 412 …month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); in handleComputeFields() 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; in handleComputeFields()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | gregocal.cpp | 230 set(UCAL_DATE, date); in GregorianCalendar() 245 set(UCAL_DATE, date); in GregorianCalendar() 263 set(UCAL_DATE, date); in GregorianCalendar() 635 int32_t dom = internalGet(UCAL_DATE); in pinDayOfMonth() 637 set(UCAL_DATE, monthLen); in pinDayOfMonth() 648 if (field != UCAL_DATE && in validateFields() 657 if (isSet(UCAL_DATE)) { in validateFields() 658 int32_t date = internalGet(UCAL_DATE); in validateFields() 659 if (date < getMinimum(UCAL_DATE) || in validateFields()
|
D | dtitvfmt.cpp | 305 } else if ( fromCalendar.get(UCAL_DATE, status) != in format() 306 toCalendar.get(UCAL_DATE, status) ) { in format() 307 field = UCAL_DATE; in format() 669 setPatternInfo(UCAL_DATE, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 694 setPatternInfo(UCAL_DATE, NULL, &pattern, fInfo->getDefaultOrder()); in initializePattern() 710 if ( !fieldExistsInSkeleton(UCAL_DATE, dateSkeleton) ) { in initializePattern() 713 setFallbackPattern(UCAL_DATE, skeleton, status); in initializePattern() 992 setIntervalPattern(UCAL_DATE, skeleton, bestSkeleton, differenceInfo, in setSeparateDateTimePtn()
|
D | japancal.cpp | 412 …month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); in handleComputeFields() 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; in handleComputeFields()
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 781 ucal_get(cal, UCAL_DATE, &status)!=12 || ucal_get(cal, UCAL_HOUR, &status)!=5) in TestFieldGetSet() 795 ucal_set(cal, UCAL_DATE, 3); in TestFieldGetSet() 936 ucal_set(cal, UCAL_DATE, d); in TestAddRollExtensive() 950 ucal_add(cal,UCAL_DATE, 1, &status); in TestAddRollExtensive() 954 ucal_add(cal,UCAL_DATE, 2, &status); in TestAddRollExtensive() 958 ucal_add(cal,UCAL_DATE, 28, &status); in TestAddRollExtensive() 973 ucal_roll(cal, UCAL_DATE, -1, &status); in TestAddRollExtensive() 981 ucal_roll(cal, UCAL_DATE, 1, &status); in TestAddRollExtensive() 992 ucal_roll(cal, UCAL_DATE, 29, &status); in TestAddRollExtensive() 1027 ucal_set(cal, UCAL_DATE, d); in TestAddRollExtensive() [all …]
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | ccaltst.c | 780 ucal_get(cal, UCAL_DATE, &status)!=12 || ucal_get(cal, UCAL_HOUR, &status)!=5) in TestFieldGetSet() 794 ucal_set(cal, UCAL_DATE, 3); in TestFieldGetSet() 935 ucal_set(cal, UCAL_DATE, d); in TestAddRollExtensive() 949 ucal_add(cal,UCAL_DATE, 1, &status); in TestAddRollExtensive() 953 ucal_add(cal,UCAL_DATE, 2, &status); in TestAddRollExtensive() 957 ucal_add(cal,UCAL_DATE, 28, &status); in TestAddRollExtensive() 972 ucal_roll(cal, UCAL_DATE, -1, &status); in TestAddRollExtensive() 980 ucal_roll(cal, UCAL_DATE, 1, &status); in TestAddRollExtensive() 991 ucal_roll(cal, UCAL_DATE, 29, &status); in TestAddRollExtensive() 1026 ucal_set(cal, UCAL_DATE, d); in TestAddRollExtensive() [all …]
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
D | ucal.h | 253 UCAL_DATE, enumerator 440 UCAL_DAY_OF_MONTH=UCAL_DATE
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucal.h | 253 UCAL_DATE, enumerator 440 UCAL_DAY_OF_MONTH=UCAL_DATE
|