/external/libtextclassifier/native/annotator/datetime/ |
D | utils.cc | 28 if (parse.HasFieldType(DatetimeComponent::ComponentType::DAY_OF_WEEK)) { in FillInterpretations() 30 if (parse.GetRelativeValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in FillInterpretations() 34 DatetimeComponent::ComponentType::DAY_OF_WEEK, in FillInterpretations()
|
D | extractor.cc | 155 if (component_type == DatetimeComponent::ComponentType::DAY_OF_WEEK) { in Extract() 503 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 505 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 507 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 509 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 511 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 513 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 515 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 103 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 482 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 483 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 484 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 540 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 547 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 556 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 568 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 575 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 583 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 43 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 51 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
|
D | TestCase.java | 63 return dowToString(get(Calendar.DAY_OF_WEEK)) + " " + in toString() 102 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase() 139 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
|
D | CalendarRegressionTest.java | 199 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 320 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 321 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 340 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 364 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 365 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 366 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 502 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 665 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 709 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 106 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 485 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 486 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 487 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 543 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 550 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 559 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 571 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 578 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 586 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 46 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 54 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
|
D | TestCase.java | 66 return dowToString(get(Calendar.DAY_OF_WEEK)) + " " + in toString() 105 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase() 142 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
|
D | CalendarRegressionTest.java | 202 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 323 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 324 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 343 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 367 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 368 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 369 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 505 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 668 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 712 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | CalendarTest.java | 473 assertEquals(1, cal.getMinimum(Calendar.DAY_OF_WEEK)); in testGetMinimum() 481 assertEquals(7, cal.getMaximum(Calendar.DAY_OF_WEEK)); in testGetMaximum() 514 cal.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY); in testIsWeekendDate() 516 cal.set(Calendar.DAY_OF_WEEK, Calendar.WEDNESDAY); in testIsWeekendDate() 525 cal.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY); in testIsWeekend() 527 cal.set(Calendar.DAY_OF_WEEK, Calendar.WEDNESDAY); in testIsWeekend()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 798 public final static int DAY_OF_WEEK = 7; field in Calendar 2485 case DAY_OF_WEEK: in getActualMaximum() 2535 case DAY_OF_WEEK: in getActualMinimum() 2601 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2618 set(DAY_OF_WEEK, dow); in prepareGetActual() 2961 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3019 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3080 case DAY_OF_WEEK: in roll() 3090 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3265 case DAY_OF_WEEK: in add() [all …]
|
D | ChineseCalendar.java | 492 { WEEK_OF_YEAR, DAY_OF_WEEK }, 493 { WEEK_OF_MONTH, DAY_OF_WEEK }, 494 { DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK }, 505 { RESOLVE_REMAP | DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK },
|
D | SimpleDateRule.java | 192 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Calendar.java | 789 public final static int DAY_OF_WEEK = 7; field in Calendar 2392 case DAY_OF_WEEK: in getActualMaximum() 2441 case DAY_OF_WEEK: in getActualMinimum() 2506 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2523 set(DAY_OF_WEEK, dow); in prepareGetActual() 2864 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2922 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2983 case DAY_OF_WEEK: in roll() 2993 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3167 case DAY_OF_WEEK: in add() [all …]
|
D | ChineseCalendar.java | 477 { WEEK_OF_YEAR, DAY_OF_WEEK }, 478 { WEEK_OF_MONTH, DAY_OF_WEEK }, 479 { DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK }, 490 { RESOLVE_REMAP | DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK },
|
D | SimpleDateRule.java | 187 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Calendar.java | 777 public final static int DAY_OF_WEEK = 7; field in Calendar 2338 int dow = calendar.get(Calendar.DAY_OF_WEEK); in isWeekend() 2451 case DAY_OF_WEEK: in getJDKField() 2452 return java.util.Calendar.DAY_OF_WEEK; in getJDKField()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 137 minDay = c.getMinimum(Calendar.DAY_OF_WEEK); in calculate() 138 daysInWeek = c.getMaximum(Calendar.DAY_OF_WEEK) - minDay + 1; in calculate() 146 firstDayInMonth = c.get(Calendar.DAY_OF_WEEK); in calculate()
|
/external/libtextclassifier/native/annotator/grammar/dates/utils/ |
D | date-match.cc | 296 return CreateDatetimeComponent(DatetimeComponent::ComponentType::DAY_OF_WEEK, in CreateDayOfWeekComponent() 350 case DatetimeComponent::ComponentType::DAY_OF_WEEK: in GetDatetimeComponent() 411 DatetimeComponent::ComponentType::DAY_OF_WEEK, in FillDatetimeComponents()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | CalendarICU.java | 148 if (field == MONTH || field == DAY_OF_WEEK) { in getDisplayNames() 309 case DAY_OF_WEEK: in getFieldStrings()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 496 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_WEEK)) { in formatToCharacterIterator() 497 val = attr = Field.DAY_OF_WEEK ; in formatToCharacterIterator()
|
D | DateFormat.java | 1703 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK); field in DateFormat.Field 2038 } else if (fieldAttribute.equals(Field.DAY_OF_WEEK)) { in toJDKFieldPosition() 2039 fieldAttribute = java.text.DateFormat.Field.DAY_OF_WEEK; in toJDKFieldPosition()
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPDate.java | 173 wkday = javaCal.get(Calendar.DAY_OF_WEEK); in SIPDate() 367 javaCal.set(Calendar.DAY_OF_WEEK, wkday); in setJavaCal()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 133 android.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
|