/external/icu4c/i18n/unicode/ |
D | calendar.h | 541 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status); 591 inline void roll(UCalendarDateFields field, UBool up, UErrorCode& status); 639 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status); 753 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status); 899 virtual int32_t getMinimum(UCalendarDateFields field) const; 919 virtual int32_t getMaximum(UCalendarDateFields field) const; 939 virtual int32_t getGreatestMinimum(UCalendarDateFields field) const; 959 virtual int32_t getLeastMaximum(UCalendarDateFields field) const; 991 virtual int32_t getActualMinimum(UCalendarDateFields field, UErrorCode& status) const; 1027 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; [all …]
|
D | ucal.h | 183 enum UCalendarDateFields { enum 444 typedef enum UCalendarDateFields UCalendarDateFields; typedef 1024 UCalendarDateFields field, 1045 UCalendarDateFields field, 1067 UCalendarDateFields field, 1087 UCalendarDateFields field, 1107 UCalendarDateFields field); 1125 UCalendarDateFields field); 1178 UCalendarDateFields field, 1363 UCalendarDateFields field,
|
D | dtitvfmt.h | 735 void setFallbackPattern(UCalendarDateFields field, 828 UBool setIntervalPattern(UCalendarDateFields field, 887 UCalendarDateFields field, 897 static UBool U_EXPORT2 fieldExistsInSkeleton(UCalendarDateFields field, 916 void setIntervalPattern(UCalendarDateFields field, 927 void setIntervalPattern(UCalendarDateFields field, 942 void setPatternInfo(UCalendarDateFields field,
|
D | gregocal.h | 375 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status); 404 int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const; 427 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; 511 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ; 602 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const; 662 UBool boundsCheck(int32_t value, UCalendarDateFields field) const;
|
D | dtitvinf.h | 268 UCalendarDateFields lrgDiffCalUnit, 283 UCalendarDateFields field, 396 UCalendarDateFields lrgDiffCalUnit, 468 UCalendarDateFields field,
|
D | smpdtfmt.h | 741 UBool isFieldUnitIgnored(UCalendarDateFields field) const; 756 UCalendarDateFields field); 898 int32_t matchString(const UnicodeString& text, int32_t start, UCalendarDateFields field, 913 int32_t matchQuarterString(const UnicodeString& text, int32_t start, UCalendarDateFields field, 1055 static const UCalendarDateFields fgPatternIndexToCalendarField[];
|
/external/icu4c/test/intltest/ |
D | fldset.cpp | 51 if (isSet((UCalendarDateFields)i)) { in diffFrom() 211 if((inheritFrom == NULL) || !inheritFrom->isSet((UCalendarDateFields)field)) { in parseValueDefault() 217 value = inheritFrom->get((UCalendarDateFields)field); in parseValueDefault() 263 if (isSet((UCalendarDateFields)i)) { in setOnCalendar() 264 int32_t value = get((UCalendarDateFields)i); in setOnCalendar() 265 cal->set((UCalendarDateFields)i, value); in setOnCalendar() 280 if (isSet((UCalendarDateFields)i)) { in matches() 281 int32_t calVal = cal->get((UCalendarDateFields)i, status); in matches() 284 if (calVal != get((UCalendarDateFields)i)) { in matches() 286 diffSet.set((UCalendarDateFields)i, calVal); in matches()
|
D | caltest.h | 99 int32_t ms, UCalendarDateFields field); 169 int times, UCalendarDateFields field, UCalendarDateFields field2, 183 static UnicodeString fieldName(UCalendarDateFields f);
|
D | caltest.cpp | 35 …out += (UnicodeString("") + fieldName((UCalendarDateFields)i) + "=" + cal.get((UCalendarDateField… in calToStr() 253 UnicodeString CalendarTest::fieldName(UCalendarDateFields f) { in fieldName() 388 … if (cal->getMinimum((UCalendarDateFields)i) > cal->getGreatestMinimum((UCalendarDateFields)i)) in TestGenericAPI() 390 if (cal->getLeastMaximum((UCalendarDateFields)i) > cal->getMaximum((UCalendarDateFields)i)) in TestGenericAPI() 392 if (cal->getMinimum((UCalendarDateFields)i) >= cal->getMaximum((UCalendarDateFields)i)) in TestGenericAPI() 420 …if (!cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet F, should be T " + fieldName… in TestGenericAPI() 423 …if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet = T, should be F " + fieldNa… in TestGenericAPI() 425 cal->clear((UCalendarDateFields)i); in TestGenericAPI() 426 …if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::clear/isSet failed " + fieldName((U… in TestGenericAPI() 970 UCalendarDateFields e; in TestAddRollExtensive() [all …]
|
D | dadrcal.cpp | 239 if (paramsSet.isSet((UCalendarDateFields)q)) { in testOps() 241 toCalendar->roll((UCalendarDateFields)q, in testOps() 242 paramsSet.get((UCalendarDateFields)q), status); in testOps() 244 toCalendar->add((UCalendarDateFields)q, in testOps() 245 paramsSet.get((UCalendarDateFields)q), status); in testOps() 249 logln(operation + " of "+ paramsSet.get((UCalendarDateFields)q) in testOps()
|
D | dadrfmt.cpp | 198 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate() 200 cal->add((UCalendarDateFields)q, in testConvertDate() 201 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
|
D | callimts.cpp | 347 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest() 408 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest()
|
D | calcasts.h | 53 UBool checkField(Calendar *cal, UCalendarDateFields field, int32_t value, UErrorCode &status);
|
/external/icu4c/i18n/ |
D | calendar.cpp | 97 const char* fldName(UCalendarDateFields f) { in fldName() 118 const char *f = fldName((UCalendarDateFields)i); in dump() 1055 Calendar::get(UCalendarDateFields field, UErrorCode& status) const in get() 1067 Calendar::set(UCalendarDateFields field, int32_t value) in set() 1135 Calendar::clear(UCalendarDateFields field) in clear() 1150 Calendar::isSet(UCalendarDateFields field) const in isSet() 1156 int32_t Calendar::newestStamp(UCalendarDateFields first, UCalendarDateFields last, int32_t bestStam… in newestStamp() 1223 void Calendar::pinField(UCalendarDateFields field, UErrorCode& status) { in pinField() 1490 roll((UCalendarDateFields)field, amount, status); in roll() 1493 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() [all …]
|
D | hebrwcal.h | 243 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status); 261 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status); 304 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
|
D | gregocal.cpp | 471 int32_t GregorianCalendar::handleComputeJulianDay(UCalendarDateFields bestField) in handleComputeJulianDay() 650 isSet((UCalendarDateFields)field) && in validateFields() 651 ! boundsCheck(internalGet((UCalendarDateFields)field), (UCalendarDateFields)field)) in validateFields() 685 GregorianCalendar::boundsCheck(int32_t value, UCalendarDateFields field) const in boundsCheck() 818 roll((UCalendarDateFields) field, amount, status); in roll() 822 GregorianCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() 1053 return getMinimum((UCalendarDateFields)field); in getActualMinimum() 1058 return getMinimum((UCalendarDateFields)field); in getActualMinimum() 1068 int32_t GregorianCalendar::getActualMinimum(UCalendarDateFields field, UErrorCode& /* status */) co… in getActualMinimum() 1083 int32_t GregorianCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const { in handleGetLimit() [all …]
|
D | chnsecal.h | 141 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const; 151 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode &status); 153 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode &status);
|
D | japancal.h | 115 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; 189 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
|
D | ucal.cpp | 418 UCalendarDateFields field, in ucal_add() 430 UCalendarDateFields field, in ucal_roll() 442 UCalendarDateFields field, in ucal_get() 453 UCalendarDateFields field, in ucal_set() 462 UCalendarDateFields field) in ucal_isSet() 470 UCalendarDateFields field) in ucal_clearField() 485 UCalendarDateFields field, in ucal_getLimit() 603 UCalendarDateFields field, in ucal_getFieldDifference()
|
D | hebrwcal.cpp | 211 void HebrewCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) in add() 273 add((UCalendarDateFields)field, amount, status); in add() 308 void HebrewCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() 343 roll((UCalendarDateFields)field, amount, status); in roll() 488 int32_t HebrewCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const { in handleGetLimit()
|
D | dtitvinf.cpp | 83 UCalendarDateFields lrgDiffCalUnit, in setIntervalPattern() 179 UCalendarDateFields field, in getIntervalPattern() 306 UCalendarDateFields calendarField = UCAL_FIELD_COUNT; in initializeData() 341 UCalendarDateFields lrgDiffCalUnit, in setIntervalPatternInternally() 518 DateIntervalInfo::calendarFieldToIntervalIndex(UCalendarDateFields field, in calendarFieldToIntervalIndex()
|
D | chnsecal.cpp | 169 int32_t ChineseCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const { in handleGetLimit() 337 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in add() 360 add((UCalendarDateFields)field, amount, status); in add() 367 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in roll() 426 roll((UCalendarDateFields)field, amount, status); in roll()
|
D | dtitvfmt.cpp | 295 UCalendarDateFields field = UCAL_FIELD_COUNT; in format() 1014 DateIntervalFormat::setFallbackPattern(UCalendarDateFields field, in setFallbackPattern() 1031 DateIntervalFormat::setPatternInfo(UCalendarDateFields field, in setPatternInfo() 1057 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1065 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1128 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1309 DateIntervalFormat::fieldExistsInSkeleton(UCalendarDateFields field, in fieldExistsInSkeleton() 1433 UCalendarDateFields field, in concatSingleDate2TimeInterval()
|
D | japancal.cpp | 476 int32_t JapaneseCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const in handleGetLimit() 504 int32_t JapaneseCalendar::getActualMaximum(UCalendarDateFields field, UErrorCode& status) const { in getActualMaximum()
|
D | cecal.h | 75 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
|