Home
last modified time | relevance | path

Searched refs:dow (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/skia/third_party/externals/icu/source/i18n/
Dgregoimp.cpp100 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
123 dow = (int32_t) uprv_fmod(day + 1, 7); in dayToFields()
124 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
138 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
142 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
146 int32_t dow; in dayOfWeek() local
147 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); in dayOfWeek()
148 return (dow == 0) ? UCAL_SATURDAY : dow; in dayOfWeek()
Dgregoimp.h194 int32_t& dom, int32_t& dow, int32_t& doy);
206 int32_t& dom, int32_t& dow);
220 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
287 int32_t& dom, int32_t& dow) { in dayToFields() argument
289 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dbasictz.cpp163 int32_t year, month, dom, dow, doy, mid; in getSimpleRulesNear() local
168 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
171 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
195 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
198 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
226 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
228 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
481 int32_t year, month, dom, dow, doy, mid; in getTimeZoneRulesAfter() local
482 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid); in getTimeZoneRulesAfter()
Dolsontz.cpp332 int32_t dom, uint8_t dow, in getOffset() argument
340 return getOffset(era, year, month, dom, dow, millis, in getOffset()
350 int32_t dom, uint8_t dow, in getOffset() argument
362 || dow < UCAL_SUNDAY in getOffset()
363 || dow > UCAL_SATURDAY in getOffset()
377 return finalZone->getOffset(era, year, month, dom, dow, in getOffset()
440 int32_t year, month, dom, dow; in printTime() local
444 Grego::dayToFields(days, year, month, dom, dow); in printTime()
572 int32_t year, month, dom, dow, doy, mid; in useDaylightTime() local
573 Grego::timeToFields(current, year, month, dom, dow, doy, mid); in useDaylightTime()
Dtzrule.cpp301 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear() local
302 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow; in getStartInYear()
358 int32_t year, month, dom, dow, doy, mid; in getNextStart() local
359 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getNextStart()
382 int32_t year, month, dom, dow, doy, mid; in getPreviousStart() local
383 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getPreviousStart()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dgregoimp.cpp100 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
123 dow = (int32_t) uprv_fmod(day + 1, 7); in dayToFields()
124 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
138 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
142 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
146 int32_t dow; in dayOfWeek() local
147 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); in dayOfWeek()
148 return (dow == 0) ? UCAL_SATURDAY : dow; in dayOfWeek()
Dgregoimp.h194 int32_t& dom, int32_t& dow, int32_t& doy);
206 int32_t& dom, int32_t& dow);
220 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
287 int32_t& dom, int32_t& dow) { in dayToFields() argument
289 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dbasictz.cpp163 int32_t year, month, dom, dow, doy, mid; in getSimpleRulesNear() local
168 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
171 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
195 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
198 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
226 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
228 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
481 int32_t year, month, dom, dow, doy, mid; in getTimeZoneRulesAfter() local
482 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid); in getTimeZoneRulesAfter()
Dolsontz.cpp332 int32_t dom, uint8_t dow, in getOffset() argument
340 return getOffset(era, year, month, dom, dow, millis, in getOffset()
350 int32_t dom, uint8_t dow, in getOffset() argument
362 || dow < UCAL_SUNDAY in getOffset()
363 || dow > UCAL_SATURDAY in getOffset()
377 return finalZone->getOffset(era, year, month, dom, dow, in getOffset()
440 int32_t year, month, dom, dow; in printTime() local
444 Grego::dayToFields(days, year, month, dom, dow); in printTime()
572 int32_t year, month, dom, dow, doy, mid; in useDaylightTime() local
573 Grego::timeToFields(current, year, month, dom, dow, doy, mid); in useDaylightTime()
Dtzrule.cpp301 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear() local
302 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow; in getStartInYear()
358 int32_t year, month, dom, dow, doy, mid; in getNextStart() local
359 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getNextStart()
382 int32_t year, month, dom, dow, doy, mid; in getPreviousStart() local
383 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getPreviousStart()
/third_party/icu/icu4c/source/i18n/
Dgregoimp.cpp100 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
123 dow = (int32_t) uprv_fmod(day + 1, 7); in dayToFields()
124 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
138 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
142 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
146 int32_t dow; in dayOfWeek() local
147 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); in dayOfWeek()
148 return (dow == 0) ? UCAL_SATURDAY : dow; in dayOfWeek()
Dgregoimp.h194 int32_t& dom, int32_t& dow, int32_t& doy);
206 int32_t& dom, int32_t& dow);
220 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
287 int32_t& dom, int32_t& dow) { in dayToFields() argument
289 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dbasictz.cpp163 int32_t year, month, dom, dow, doy, mid; in getSimpleRulesNear() local
168 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
171 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
195 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
198 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
226 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
228 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
481 int32_t year, month, dom, dow, doy, mid; in getTimeZoneRulesAfter() local
482 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid); in getTimeZoneRulesAfter()
Dolsontz.cpp332 int32_t dom, uint8_t dow, in getOffset() argument
340 return getOffset(era, year, month, dom, dow, millis, in getOffset()
350 int32_t dom, uint8_t dow, in getOffset() argument
362 || dow < UCAL_SUNDAY in getOffset()
363 || dow > UCAL_SATURDAY in getOffset()
377 return finalZone->getOffset(era, year, month, dom, dow, in getOffset()
440 int32_t year, month, dom, dow; in printTime() local
444 Grego::dayToFields(days, year, month, dom, dow); in printTime()
572 int32_t year, month, dom, dow, doy, mid; in useDaylightTime() local
573 Grego::timeToFields(current, year, month, dom, dow, doy, mid); in useDaylightTime()
Dtzrule.cpp301 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear() local
302 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow; in getStartInYear()
358 int32_t year, month, dom, dow, doy, mid; in getNextStart() local
359 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getNextStart()
382 int32_t year, month, dom, dow, doy, mid; in getPreviousStart() local
383 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getPreviousStart()
/third_party/node/deps/icu-small/source/i18n/
Dgregoimp.cpp100 int32_t& dom, int32_t& dow, int32_t& doy) { in dayToFields() argument
123 dow = (int32_t) uprv_fmod(day + 1, 7); in dayToFields()
124 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY; in dayToFields()
138 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) { in timeToFields() argument
142 dayToFields(day, year, month, dom, dow, doy); in timeToFields()
146 int32_t dow; in dayOfWeek() local
147 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow); in dayOfWeek()
148 return (dow == 0) ? UCAL_SATURDAY : dow; in dayOfWeek()
Dgregoimp.h194 int32_t& dom, int32_t& dow, int32_t& doy);
206 int32_t& dom, int32_t& dow);
220 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
287 int32_t& dom, int32_t& dow) { in dayToFields() argument
289 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()
Dbasictz.cpp163 int32_t year, month, dom, dow, doy, mid; in getSimpleRulesNear() local
168 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
171 … DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
195 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
198 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
226 year, month, dom, dow, doy, mid); in getSimpleRulesNear()
228 … dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME); in getSimpleRulesNear()
486 int32_t year, month, dom, dow, doy, mid; in getTimeZoneRulesAfter() local
487 Grego::timeToFields(tzt.getTime(), year, month, dom, dow, doy, mid); in getTimeZoneRulesAfter()
Dolsontz.cpp332 int32_t dom, uint8_t dow, in getOffset() argument
340 return getOffset(era, year, month, dom, dow, millis, in getOffset()
350 int32_t dom, uint8_t dow, in getOffset() argument
362 || dow < UCAL_SUNDAY in getOffset()
363 || dow > UCAL_SATURDAY in getOffset()
377 return finalZone->getOffset(era, year, month, dom, dow, in getOffset()
440 int32_t year, month, dom, dow; in printTime() local
444 Grego::dayToFields(days, year, month, dom, dow); in printTime()
572 int32_t year, month, dom, dow, doy, mid; in useDaylightTime() local
573 Grego::timeToFields(current, year, month, dom, dow, doy, mid); in useDaylightTime()
Dtzrule.cpp301 int32_t dow = Grego::dayOfWeek(ruleDay); in getStartInYear() local
302 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow; in getStartInYear()
358 int32_t year, month, dom, dow, doy, mid; in getNextStart() local
359 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getNextStart()
382 int32_t year, month, dom, dow, doy, mid; in getPreviousStart() local
383 Grego::timeToFields(base, year, month, dom, dow, doy, mid); in getPreviousStart()
/third_party/boost/boost/date_time/
Ddate_generators.hpp197 day_of_week_type dow, in nth_kday_of_month() argument
201 dow_(dow) in nth_kday_of_month()
274 first_kday_of_month(day_of_week_type dow, month_type m) : in first_kday_of_month() argument
276 dow_(dow) in first_kday_of_month()
335 last_kday_of_month(day_of_week_type dow, month_type m) : in last_kday_of_month() argument
337 dow_(dow) in last_kday_of_month()
391 first_kday_after(day_of_week_type dow) : in first_kday_after() argument
392 dow_(dow) in first_kday_after()
429 first_kday_before(day_of_week_type dow) : in first_kday_before() argument
430 dow_(dow) in first_kday_before()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DTestCase.java75 public static String dowToString(int dow) { in dowToString() argument
76 --dow; in dowToString()
77 return (dow < 0 || dow > 6) ? in dowToString()
78 ("<DOW " + dow + ">") : DOW_NAMES[dow]; in dowToString()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DTestCase.java72 public static String dowToString(int dow) { in dowToString() argument
73 --dow; in dowToString()
74 return (dow < 0 || dow > 6) ? in dowToString()
75 ("<DOW " + dow + ">") : DOW_NAMES[dow]; in dowToString()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java2612 int dow = firstDayOfWeek; in prepareGetActual() local
2614 dow = (dow + 6) % 7; // set to last DOW in prepareGetActual()
2615 if (dow < SUNDAY) { in prepareGetActual()
2616 dow += 7; in prepareGetActual()
2619 set(DAY_OF_WEEK, dow); in prepareGetActual()
2962 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() local
2963 if (dow < 0) dow += 7; in roll()
2967 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
2983 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
3020 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() local
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java2516 int dow = firstDayOfWeek; in prepareGetActual() local
2518 dow = (dow + 6) % 7; // set to last DOW in prepareGetActual()
2519 if (dow < SUNDAY) { in prepareGetActual()
2520 dow += 7; in prepareGetActual()
2523 set(DAY_OF_WEEK, dow); in prepareGetActual()
2864 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() local
2865 if (dow < 0) dow += 7; in roll()
2869 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
2885 int ldm = (monthLen - internalGet(DAY_OF_MONTH) + dow) % 7; in roll()
2922 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() local
[all …]

1234