HomeSort by relevance Sort by last modified time
    Searched defs:dow (Results 1 - 25 of 62) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/test/fixedbugs/
bug399.go 10 const dow = "\000\003" const
13 println(int(dow[1]))
  /prebuilts/go/linux-x86/test/fixedbugs/
bug399.go 10 const dow = "\000\003" const
13 println(int(dow[1]))
  /external/icu/icu4c/source/i18n/
gregoimp.cpp 95 int32_t& dom, int32_t& dow, int32_t& doy) {
118 dow = (int32_t) uprv_fmod(day + 1, 7);
119 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY;
133 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) {
137 dayToFields(day, year, month, dom, dow, doy);
141 int32_t dow; local
142 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);
143 return (dow == 0) ? UCAL_SATURDAY : dow;
    [all...]
basictz.cpp 163 int32_t year, month, dom, dow, doy, mid; local
168 year, month, dom, dow, doy, mid);
170 // Create DOW rule
171 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
195 year, month, dom, dow, doy, mid);
197 // Generate another DOW rule
198 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
224 // Generate another DOW rule
226 year, month, dom, dow, doy, mid);
228 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME)
481 int32_t year, month, dom, dow, doy, mid; local
    [all...]
simpletz.cpp 518 int32_t year, month, dom, dow; local
522 Grego::dayToFields(day, year, month, dom, dow);
525 (uint8_t) dow, millis,
551 Grego::dayToFields(day, year, month, dom, dow);
553 (uint8_t) dow, millis,
795 // value indicating which DOW, such as +1 for first,
849 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST
    [all...]
gregocal.cpp 774 // // Compute doy of first (relative) DOW of WOY 1
781 // // Adjust for the DOW
976 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
    [all...]
olsontz.cpp 332 int32_t dom, uint8_t dow,
340 return getOffset(era, year, month, dom, dow, millis,
350 int32_t dom, uint8_t dow,
362 || dow < UCAL_SUNDAY
363 || dow > UCAL_SATURDAY
377 return finalZone->getOffset(era, year, month, dom, dow,
440 int32_t year, month, dom, dow; local
444 Grego::dayToFields(days, year, month, dom, dow);
572 int32_t year, month, dom, dow, doy, mid; local
573 Grego::timeToFields(current, year, month, dom, dow, doy, mid)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/util/
AnnualTimeZoneRule.java 113 if (type == DateTimeRule.DOW) {
137 int dow = Grego.dayOfWeek(ruleDay); local
138 int delta = dateTimeRule.getRuleDayOfWeek() - dow;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
AnnualTimeZoneRule.java 123 if (type == DateTimeRule.DOW) {
147 int dow = Grego.dayOfWeek(ruleDay); local
148 int delta = dateTimeRule.getRuleDayOfWeek() - dow;
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestExampleCode.java 91 int dow = now1.get(ChronoField.DAY_OF_WEEK); local
95 dow, day, month, year);
151 int dow = now1.get(ChronoField.DAY_OF_WEEK); local
155 dow, day, month, year);
TestIsoChronoImpl.java 142 int dow = isoDate.get(weekDef.dayOfWeek()); local
143 assertEquals(jdow, dow, "Calendar DayOfWeek does not match ISO DayOfWeek");
  /libcore/ojluni/src/test/java/time/tck/java/time/temporal/
TCKWeekFields.java 189 + String.format("%s, ISO Dow: %s, offset: %s, actualDOW: %s, actualWOM: %s, expected: %s, result: %s%n",
220 + String.format("%s, ISO Dow: %s, offset: %s, actualDOW: %s, actualWOM: %s, expected: %s, result: %s%n",
227 * Verify that the date can be reconstructed from the DOW, WeekOfWeekBasedYear,
250 int dow = (7 + isoDOW.getValue() - firstDayOfWeek.getValue()) % 7 + 1; local
252 int weekStart = Math.floorMod(1 - dow, 7);
262 + String.format("%s, ISO Dow: %s, weekStart: %s, actualDOW: %s, actualWOWBY: %s, YearOfWBY: %d, expected day: %s, result: %s%n",
318 for (int dow = 1; dow <= 7; dow++) {
319 LocalDate result = day.with(dowField, dow);
320 assertEquals(result.get(dowField), dow, String.format("Incorrect new Day of week: %s", result)); local
412 int dow = date.get(DAY_OF_WEEK); local
481 int dow = date.get(dowField); local
525 int dow = date.get(DAY_OF_WEEK); local
591 int dow = date.get(dowField); local
637 int dow = date.get(DAY_OF_WEEK); local
705 int dow = date.get(dowField); local
    [all...]
TCKIsoFields.java 321 public void test_WOWBY(LocalDate date, DayOfWeek dow, int week, int wby) {
322 assertEquals(date.getDayOfWeek(), dow); local
336 public void test_WBY(LocalDate date, DayOfWeek dow, int week, int wby) {
337 assertEquals(date.getDayOfWeek(), dow); local
351 public void test_parse_weeks_STRICT(LocalDate date, DayOfWeek dow, int week, int wby) {
357 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f);
362 public void test_parse_weeks_SMART(LocalDate date, DayOfWeek dow, int week, int wby) {
368 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f);
373 public void test_parse_weeks_LENIENT(LocalDate date, DayOfWeek dow, int week, int wby) {
379 LocalDate parsed = LocalDate.parse(wby + "-" + week + "-" + dow.getValue(), f)
    [all...]
TCKTemporalAdjusters.java 338 public void test_dayOfWeekInMonth_positive(int year, int month, DayOfWeek dow, LocalDate expected) {
342 LocalDate test = (LocalDate) TemporalAdjusters.dayOfWeekInMonth(ordinal, dow).adjustInto(date);
367 public void test_dayOfWeekInMonth_zero(int year, int month, DayOfWeek dow, LocalDate expected) {
370 LocalDate test = (LocalDate) TemporalAdjusters.dayOfWeekInMonth(0, dow).adjustInto(date);
394 public void test_dayOfWeekInMonth_negative(int year, int month, DayOfWeek dow, LocalDate expected) {
398 LocalDate test = (LocalDate) TemporalAdjusters.dayOfWeekInMonth(-1 - ordinal, dow).adjustInto(date);
418 public void test_firstInMonth(int year, int month, DayOfWeek dow, LocalDate expected) {
421 LocalDate test = (LocalDate) TemporalAdjusters.firstInMonth(dow).adjustInto(date);
440 public void test_lastInMonth(int year, int month, DayOfWeek dow, LocalDate expected) {
443 LocalDate test = (LocalDate) TemporalAdjusters.lastInMonth(dow).adjustInto(date)
470 assertSame(test.getDayOfWeek(), dow, date + " " + test); local
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/Time/
ZoneProc.c 483 int d, m1, yy0, yy1, yy2, dow; local
527 dow = ((26 * m1 - 2) / 10 +
529 if (dow < 0)
530 dow += DAYSPERWEEK;
533 ** "dow" is the day-of-week of the first day of the month. Get
534 ** the day-of-month (zero-origin) of the first "dow" day of the
537 d = rulep->r_day - dow;
  /libcore/ojluni/src/main/java/java/time/chrono/
AbstractChronology.java 604 long dow = Math.subtractExact(fieldValues.remove(DAY_OF_WEEK), 1); local
605 return resolveAligned(date(y, 1, 1), months, weeks, dow);
609 int dow = range(DAY_OF_WEEK).checkValidIntValue(fieldValues.remove(DAY_OF_WEEK), DAY_OF_WEEK); local
610 ChronoLocalDate date = date(y, moy, 1).plus((aw - 1) * 7, DAYS).with(nextOrSame(DayOfWeek.of(dow)));
637 long dow = Math.subtractExact(fieldValues.remove(DAY_OF_WEEK), 1); local
638 return resolveAligned(dateYearDay(y, 1), 0, weeks, dow);
641 int dow = range(DAY_OF_WEEK).checkValidIntValue(fieldValues.remove(DAY_OF_WEEK), DAY_OF_WEEK); local
642 ChronoLocalDate date = dateYearDay(y, 1).plus((aw - 1) * 7, DAYS).with(nextOrSame(DayOfWeek.of(dow)));
649 ChronoLocalDate resolveAligned(ChronoLocalDate base, long months, long weeks, long dow) {
651 if (dow > 7)
    [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
IsoFields.java 479 long dow = dowLong; // unvalidated local
480 if (dow > 7) {
481 date = date.plusWeeks((dow - 1) / 7);
482 dow = ((dow - 1) % 7) + 1;
483 } else if (dow < 1) {
484 date = date.plusWeeks(Math.subtractExact(dow, 7) / 7);
485 dow = ((dow + 6) % 7) + 1;
487 date = date.plusWeeks(Math.subtractExact(wowby, 1)).with(DAY_OF_WEEK, dow);
489 int dow = DAY_OF_WEEK.checkValidIntValue(dowLong); \/\/ validated local
541 int dow = date.get(DAY_OF_WEEK); local
625 int dow = date.getDayOfWeek().ordinal(); local
630 int dow = date.getDayOfWeek().ordinal(); local
    [all...]
WeekFields.java 291 DayOfWeek dow = DayOfWeek.SUNDAY.plus(weekData.firstDayOfWeek - 1); local
292 return WeekFields.of(dow, weekData.minimalDaysInFirstWeek);
787 int dow = localizedDayOfWeek(temporal); local
794 int dow = localizedDayOfWeek(temporal); local
807 int dow = localizedDayOfWeek(temporal); local
838 int dow = localizedDayOfWeek(temporal); local
936 int dow = localizedDayOfWeek(isoDow); local
1113 int dow = localizedDayOfWeek(temporal); local
1129 int dow = localizedDayOfWeek(temporal); local
    [all...]
  /libcore/ojluni/src/main/java/java/time/zone/
ZoneOffsetTransitionRule.java 124 private final DayOfWeek dow; field in class:ZoneOffsetTransitionRule
225 this.dow = dayOfWeek;
263 * final int dowByte = (dow == null ? 0 : dow.getValue());
309 final int dowByte = (dow == null ? 0 : dow.getValue());
345 DayOfWeek dow = dowByte == 0 ? null : DayOfWeek.of(dowByte); local
355 return ZoneOffsetTransitionRule.of(month, dom, dow, time, timeByte == 24, defn, std, before, after);
408 return dow;
486 if (dow != null)
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
TestIsoWeekFields.java 141 int dow = 1; local
145 assertEquals(DAY_OF_WEEK.getFrom(date), dow); local
146 if (dow == 7) {
147 dow = 1;
150 dow++;
169 int dow = 1; local
177 if (dow == 7) {
178 dow = 1;
181 dow++;
197 int dow = 1 local
203 assertEquals(adjusted.get(DAY_OF_WEEK), dow); local
226 int dow = 1; local
231 assertEquals(adjusted.get(DAY_OF_WEEK), dow); local
254 int dow = 1; local
259 assertEquals(adjusted.get(DAY_OF_WEEK), dow); local
    [all...]
  /external/toybox/toys/pending/
crond.c 46 char min[60], hour[24], dom[31], mon[12], dow[7], *cmd; member in struct:_job
275 if (parse_and_fillarray(j->dow, 0, sizeof(j->dow), tokens[4]))
605 && (job->dom[lt->tm_mday] || job->dow[lt->tm_wday])
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
CalendarTest.java 67 int dow = cal.get(Calendar.DAY_OF_WEEK); local
70 + " expected: " + dow, cal.get(Calendar.DAY_OF_WEEK) != dow);
    [all...]
  /libcore/ojluni/src/main/java/java/time/format/
DateTimeFormatter.java 1221 Map<Long, String> dow = new HashMap<>(); external variable declarations
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
BaseCalendar.java 205 int dow = bdate.getDayOfWeek(); local
206 if (dow != Date.FIELD_UNDEFINED && dow != getDayOfWeek(bdate)) {
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
SerializableTestUtility.java 287 // DOW + WALL
314 case DateTimeRule.DOW:
571 int dow = cal.get(Calendar.DAY_OF_WEEK); local
573 a_offset = tza_a.getOffset(era, year, month, day, dow, mid);
574 b_offset = tza_b.getOffset(era, year, month, day, dow, mid);
    [all...]

Completed in 2855 milliseconds

1 2 3