Home
last modified time | relevance | path

Searched refs:UCAL_DAY_OF_MONTH (Results 1 – 16 of 16) sorted by relevance

/external/libtextclassifier/util/calendar/
Dcalendar-icu.cc66 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1, status); in DispatchToRecedeOrToLastDayOfWeek()
76 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, -1 * distance, status); in DispatchToRecedeOrToLastDayOfWeek()
85 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, -7 * (distance - 1), in DispatchToRecedeOrToLastDayOfWeek()
94 date->set(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1); in DispatchToRecedeOrToLastDayOfWeek()
132 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1, status); in DispatchToAdvancerOrToNextOrSameDayOfWeek()
140 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1, status); in DispatchToAdvancerOrToNextOrSameDayOfWeek()
149 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, 7, status); in DispatchToAdvancerOrToNextOrSameDayOfWeek()
157 date->set(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1); in DispatchToAdvancerOrToNextOrSameDayOfWeek()
195 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, 1, status); in DispatchToAdvancerOrToNextDayOfWeek()
205 date->add(UCalendarDateFields::UCAL_DAY_OF_MONTH, distance, status); in DispatchToAdvancerOrToNextDayOfWeek()
[all …]
/external/icu/icu4c/source/i18n/
Dcalendar.cpp1500 (1 << UCAL_DAY_OF_MONTH) | // = UCAL_DATE in computeFields()
1688 int32_t dayOfMonth = fFields[UCAL_DAY_OF_MONTH]; in computeWeekFields()
1722 internalSet(UCAL_DAY_OF_MONTH, getGregorianDayOfMonth()); in handleComputeFields()
1754 case UCAL_DAY_OF_MONTH: in roll()
1819 pinField(UCAL_DAY_OF_MONTH,status); in roll()
1860 pinField(UCAL_DAY_OF_MONTH,status); in roll()
1868 pinField(UCAL_DAY_OF_MONTH,status); in roll()
1907 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7; in roll()
1922 int32_t monthLen = getActualMaximum(UCAL_DAY_OF_MONTH, status); in roll()
1923 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll()
[all …]
Dchnsecal.cpp279 { UCAL_DAY_OF_MONTH, kResolveSTOP },
287 { kResolveRemap | UCAL_DAY_OF_MONTH, UCAL_IS_LEAP_MONTH, kResolveSTOP },
378 int32_t dom = get(UCAL_DAY_OF_MONTH, status); in add()
408 int32_t dom = get(UCAL_DAY_OF_MONTH, status); in roll()
734 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in computeChineseFields()
819 if (getActualMaximum(UCAL_DAY_OF_MONTH, status) >= dom) { in offsetMonth()
Dhebrwcal.cpp261 pinField(UCAL_DAY_OF_MONTH, status); in add()
337 pinField(UCAL_DAY_OF_MONTH, status); in roll()
610 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
Dgregocal.cpp438 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
839 case UCAL_DAY_OF_MONTH: in roll()
847 cDayOfMonth = internalGet(UCAL_DAY_OF_MONTH) - ((t >= fGregorianCutover) ? 10 : 0); in roll()
906 case UCAL_DAY_OF_MONTH: in roll()
Dpersncal.cpp232 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
Dindiancal.cpp332 internalSet(UCAL_DAY_OF_MONTH, IndianDayOfMonth); in handleComputeFields()
Dislamcal.cpp692 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
Ddtitvinf.cpp92 } else if ( lrgDiffCalUnit == UCAL_DAY_OF_MONTH || in setIntervalPattern()
/external/icu/icu4c/source/test/intltest/
Dcallimts.cpp241 int32_t maxDOM = cal.getMaximum(UCAL_DAY_OF_MONTH); in doTheoreticalLimitsTest()
242 int32_t lmaxDOM = cal.getLeastMaximum(UCAL_DAY_OF_MONTH); in doTheoreticalLimitsTest()
318 UCAL_DAY_OF_MONTH, in doLimitsTest()
Dcaltest.cpp2477 day = cal.get(UCAL_DAY_OF_MONTH, status); in CalFields()
2520 && day == cal.get(UCAL_DAY_OF_MONTH, status) in isEquivalentTo()
2799 int32_t day = cal->get(UCAL_DAY_OF_MONTH, status); in setAndTestCalendar()
3283 day = tstCal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicUmAlQura()
3287 tstCal->roll(UCAL_DAY_OF_MONTH, (UBool)TRUE, status); in TestIslamicUmAlQura()
3302 int32_t day = tstCal->get(UCAL_DAY_OF_MONTH, status); in TestIslamicUmAlQura()
3319 int32_t is_day = is_cal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicUmAlQura()
3370 int32_t is_day = tstCal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicTabularDates()
3378 int32_t tbla_day = tstCal->get(UCAL_DAY_OF_MONTH,status); in TestIslamicTabularDates()
Dastrotst.cpp276 cal->set(UCAL_DAY_OF_MONTH, 1); in TestSunriseTimes()
Dtzrulets.cpp299 dayOfMonth = cal->get(UCAL_DAY_OF_MONTH, status); in TestSimpleRuleBasedTimeZone()
338 dayOfMonth = cal->get(UCAL_DAY_OF_MONTH, status); in TestSimpleRuleBasedTimeZone()
Ddtfmrgts.cpp1529 if (cal->get(UCAL_DAY_OF_MONTH, status) != expectedDay) { in TestParsing()
/external/icu/icu4c/source/i18n/unicode/
Ducal.h444 UCAL_DAY_OF_MONTH=UCAL_DATE enumerator
/external/icu/icu4c/source/test/cintltst/
Dccaltst.c592 dateBit = ucal_get(caldef3, UCAL_DAY_OF_MONTH, &status); in TestGetSetDateAPI()