/external/libtextclassifier/util/calendar/ |
D | calendar-icu.cc | 66 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/ |
D | calendar.cpp | 1500 (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 …]
|
D | chnsecal.cpp | 279 { 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()
|
D | hebrwcal.cpp | 261 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()
|
D | gregocal.cpp | 438 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()
|
D | persncal.cpp | 232 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
|
D | indiancal.cpp | 332 internalSet(UCAL_DAY_OF_MONTH, IndianDayOfMonth); in handleComputeFields()
|
D | islamcal.cpp | 692 internalSet(UCAL_DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
|
D | dtitvinf.cpp | 92 } else if ( lrgDiffCalUnit == UCAL_DAY_OF_MONTH || in setIntervalPattern()
|
/external/icu/icu4c/source/test/intltest/ |
D | callimts.cpp | 241 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()
|
D | caltest.cpp | 2477 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()
|
D | astrotst.cpp | 276 cal->set(UCAL_DAY_OF_MONTH, 1); in TestSunriseTimes()
|
D | tzrulets.cpp | 299 dayOfMonth = cal->get(UCAL_DAY_OF_MONTH, status); in TestSimpleRuleBasedTimeZone() 338 dayOfMonth = cal->get(UCAL_DAY_OF_MONTH, status); in TestSimpleRuleBasedTimeZone()
|
D | dtfmrgts.cpp | 1529 if (cal->get(UCAL_DAY_OF_MONTH, status) != expectedDay) { in TestParsing()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | ucal.h | 444 UCAL_DAY_OF_MONTH=UCAL_DATE enumerator
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccaltst.c | 592 dateBit = ucal_get(caldef3, UCAL_DAY_OF_MONTH, &status); in TestGetSetDateAPI()
|