Home
last modified time | relevance | path

Searched refs:UCalendarDateFields (Results 1 – 25 of 47) sorted by relevance

12

/external/icu4c/i18n/unicode/
Dcalendar.h541 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 …]
Ducal.h183 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,
Ddtitvfmt.h735 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,
Dgregocal.h375 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;
Ddtitvinf.h268 UCalendarDateFields lrgDiffCalUnit,
283 UCalendarDateFields field,
396 UCalendarDateFields lrgDiffCalUnit,
468 UCalendarDateFields field,
Dsmpdtfmt.h741 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/
Dfldset.cpp51 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()
Dcaltest.h99 int32_t ms, UCalendarDateFields field);
169 int times, UCalendarDateFields field, UCalendarDateFields field2,
183 static UnicodeString fieldName(UCalendarDateFields f);
Dcaltest.cpp35 …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 …]
Ddadrcal.cpp239 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()
Ddadrfmt.cpp198 if (fromSet.isSet((UCalendarDateFields)q)) { in testConvertDate()
200 cal->add((UCalendarDateFields)q, in testConvertDate()
201 fromSet.get((UCalendarDateFields)q), status); in testConvertDate()
Dcallimts.cpp347 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest()
408 UCalendarDateFields f = (UCalendarDateFields)fieldsToTest[j]; in doLimitsTest()
Dcalcasts.h53 UBool checkField(Calendar *cal, UCalendarDateFields field, int32_t value, UErrorCode &status);
/external/icu4c/i18n/
Dcalendar.cpp97 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 …]
Dhebrwcal.h243 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;
Dgregocal.cpp471 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 …]
Dchnsecal.h141 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);
Djapancal.h115 virtual int32_t getActualMaximum(UCalendarDateFields field, UErrorCode& status) const;
189 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;
Ducal.cpp418 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()
Dhebrwcal.cpp211 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()
Ddtitvinf.cpp83 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()
Dchnsecal.cpp169 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()
Ddtitvfmt.cpp295 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()
Djapancal.cpp476 int32_t JapaneseCalendar::handleGetLimit(UCalendarDateFields field, ELimitType limitType) const in handleGetLimit()
504 int32_t JapaneseCalendar::getActualMaximum(UCalendarDateFields field, UErrorCode& status) const { in getActualMaximum()
Dcecal.h75 virtual int32_t handleGetLimit(UCalendarDateFields field, ELimitType limitType) const;

12