/external/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 578 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode& status); 648 inline void roll(UCalendarDateFields field, UBool up, UErrorCode& status); 714 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status); 828 virtual int32_t fieldDifference(UDate when, UCalendarDateFields field, UErrorCode& status); 1046 virtual int32_t getMinimum(UCalendarDateFields field) const; 1066 virtual int32_t getMaximum(UCalendarDateFields field) const; 1086 virtual int32_t getGreatestMinimum(UCalendarDateFields field) const; 1106 virtual int32_t getLeastMaximum(UCalendarDateFields field) const; 1140 virtual int32_t getActualMinimum(UCalendarDateFields field, UErrorCode& status) const; 1178 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; [all …]
|
D | ucal.h | 183 enum UCalendarDateFields { enum 444 typedef enum UCalendarDateFields UCalendarDateFields; typedef 1094 UCalendarDateFields field, 1124 UCalendarDateFields field, 1146 UCalendarDateFields field, 1166 UCalendarDateFields field, 1186 UCalendarDateFields field); 1204 UCalendarDateFields field); 1257 UCalendarDateFields field, 1443 UCalendarDateFields field,
|
D | dtitvfmt.h | 755 void setFallbackPattern(UCalendarDateFields field, 845 UBool setIntervalPattern(UCalendarDateFields field, 900 UCalendarDateFields field, 909 static UBool U_EXPORT2 fieldExistsInSkeleton(UCalendarDateFields field, 926 void setIntervalPattern(UCalendarDateFields field, 936 void setIntervalPattern(UCalendarDateFields field, 950 void setPatternInfo(UCalendarDateFields field,
|
D | gregocal.h | 375 virtual void roll(UCalendarDateFields field, int32_t amount, UErrorCode& status); 406 int32_t getActualMinimum(UCalendarDateFields field, UErrorCode &status) const; 431 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const; 519 virtual int32_t handleComputeJulianDay(UCalendarDateFields bestField) ; 612 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const; 672 UBool boundsCheck(int32_t value, UCalendarDateFields field) const;
|
D | dtitvinf.h | 262 UCalendarDateFields lrgDiffCalUnit, 277 UCalendarDateFields field, 391 UCalendarDateFields lrgDiffCalUnit, 459 UCalendarDateFields field,
|
D | smpdtfmt.h | 1178 UBool isFieldUnitIgnored(UCalendarDateFields field) const; 1193 UCalendarDateFields field); 1342 int32_t matchString(const UnicodeString& text, int32_t start, UCalendarDateFields field, 1358 int32_t matchQuarterString(const UnicodeString& text, int32_t start, UCalendarDateFields field, 1485 static const UCalendarDateFields fgPatternIndexToCalendarField[];
|
/external/icu/icu4c/source/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 | dadrfmt.cpp | 213 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate() 216 cal->add((UCalendarDateFields)q, in testConvertDate() 217 fromSet.get((UCalendarDateFields)q), status); in testConvertDate() 219 cal->set((UCalendarDateFields)q, in testConvertDate() 220 fromSet.get((UCalendarDateFields)q)); in testConvertDate()
|
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 | caltest.cpp | 55 …out += (UnicodeString("") + fieldName((UCalendarDateFields)i) + "=" + cal.get((UCalendarDateField… in calToStr() 336 UnicodeString CalendarTest::fieldName(UCalendarDateFields f) { in fieldName() 471 … if (cal->getMinimum((UCalendarDateFields)i) > cal->getGreatestMinimum((UCalendarDateFields)i)) in TestGenericAPI() 473 if (cal->getLeastMaximum((UCalendarDateFields)i) > cal->getMaximum((UCalendarDateFields)i)) in TestGenericAPI() 475 if (cal->getMinimum((UCalendarDateFields)i) >= cal->getMaximum((UCalendarDateFields)i)) in TestGenericAPI() 503 …if (!cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet F, should be T " + fieldName… in TestGenericAPI() 506 …if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::isSet = T, should be F " + fieldNa… in TestGenericAPI() 508 cal->clear((UCalendarDateFields)i); in TestGenericAPI() 509 …if (cal->isSet((UCalendarDateFields)i)) errln("FAIL: Calendar::clear/isSet failed " + fieldName((U… in TestGenericAPI() 1094 UCalendarDateFields e; in TestAddRollExtensive() [all …]
|
D | callimts.cpp | 349 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest() 422 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest()
|
D | calcasts.h | 53 UBool checkField(Calendar *cal, UCalendarDateFields field, int32_t value, UErrorCode &status);
|
/external/icu/icu4c/source/i18n/ |
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; 371 virtual void validateField(UCalendarDateFields field, UErrorCode &status);
|
D | calendar.cpp | 110 const char* fldName(UCalendarDateFields f) { in fldName() 131 const char *f = fldName((UCalendarDateFields)i); in dump() 1166 Calendar::get(UCalendarDateFields field, UErrorCode& status) const in get() 1178 Calendar::set(UCalendarDateFields field, int32_t value) in set() 1375 Calendar::clear(UCalendarDateFields field) in clear() 1390 Calendar::isSet(UCalendarDateFields field) const in isSet() 1396 int32_t Calendar::newestStamp(UCalendarDateFields first, UCalendarDateFields last, int32_t bestStam… in newestStamp() 1463 void Calendar::pinField(UCalendarDateFields field, UErrorCode& status) { in pinField() 1730 roll((UCalendarDateFields)field, amount, status); in roll() 1733 void Calendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) in roll() [all …]
|
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 | 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() 532 void HebrewCalendar::validateField(UCalendarDateFields field, UErrorCode &status) { in validateField()
|
D | chnsecal.h | 163 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const; 171 virtual void add(UCalendarDateFields field, int32_t amount, UErrorCode &status); 173 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 | 442 UCalendarDateFields field, in ucal_add() 454 UCalendarDateFields field, in ucal_roll() 466 UCalendarDateFields field, in ucal_get() 477 UCalendarDateFields field, in ucal_set() 486 UCalendarDateFields field) in ucal_isSet() 494 UCalendarDateFields field) in ucal_clearField() 509 UCalendarDateFields field, in ucal_getLimit() 627 UCalendarDateFields field, in ucal_getFieldDifference()
|
D | dtitvinf.cpp | 83 UCalendarDateFields lrgDiffCalUnit, in setIntervalPattern() 179 UCalendarDateFields field, in getIntervalPattern() 310 UCalendarDateFields calendarField = UCAL_FIELD_COUNT; in initializeData() 369 UCalendarDateFields lrgDiffCalUnit, in setIntervalPatternInternally() 546 DateIntervalInfo::calendarFieldToIntervalIndex(UCalendarDateFields field, in calendarFieldToIntervalIndex()
|
D | chnsecal.cpp | 203 int32_t ChineseCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const { in handleGetLimit() 372 void ChineseCalendar::add(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in add() 395 add((UCalendarDateFields)field, amount, status); in add() 402 void ChineseCalendar::roll(UCalendarDateFields field, int32_t amount, UErrorCode& status) { in roll() 461 roll((UCalendarDateFields)field, amount, status); in roll()
|
D | dtitvfmt.cpp | 310 UCalendarDateFields field = UCAL_FIELD_COUNT; in format() 1053 DateIntervalFormat::setFallbackPattern(UCalendarDateFields field, in setFallbackPattern() 1071 DateIntervalFormat::setPatternInfo(UCalendarDateFields field, in setPatternInfo() 1097 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1105 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1168 DateIntervalFormat::setIntervalPattern(UCalendarDateFields field, in setIntervalPattern() 1411 DateIntervalFormat::fieldExistsInSkeleton(UCalendarDateFields field, in fieldExistsInSkeleton() 1534 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 | taiwncal.h | 154 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
|