/external/libtextclassifier/native/utils/calendar/ |
D | calendar_test.cc | 188 DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 191 DatetimeComponent::ComponentType::DAY_OF_WEEK, 2); in TEST_F() 193 DatetimeComponent::ComponentType::DAY_OF_WEEK, kWednesday); in TEST_F() 204 next_wed_parse.SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 206 next_wed_parse.SetRelativeValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 208 next_wed_parse.SetRelativeCount(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 220 same_wed_parse.SetRelativeValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 222 same_wed_parse.SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 224 same_wed_parse.SetRelativeCount(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() 236 last_wed_parse.SetRelativeValue(DatetimeComponent::ComponentType::DAY_OF_WEEK, in TEST_F() [all …]
|
/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 | 158 if (component_type == DatetimeComponent::ComponentType::DAY_OF_WEEK) { in Extract() 530 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 532 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 534 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 536 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 538 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 540 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType() 542 DatetimeComponent::ComponentType::DAY_OF_WEEK}, in ParseFieldType()
|
D | datetime-grounder.cc | 123 return DatetimeComponent::ComponentType::DAY_OF_WEEK; in ToComponentType() 162 DatetimeComponent::ComponentType::DAY_OF_WEEK, in FillAbsoluteDateTimeComponents()
|
/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/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/java/android/icu/util/ |
D | Calendar.java | 790 public final static int DAY_OF_WEEK = 7; field in Calendar 2393 case DAY_OF_WEEK: in getActualMaximum() 2442 case DAY_OF_WEEK: in getActualMinimum() 2507 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2524 set(DAY_OF_WEEK, dow); in prepareGetActual() 2865 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2923 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2984 case DAY_OF_WEEK: in roll() 2994 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3168 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/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 799 public final static int DAY_OF_WEEK = 7; field in Calendar 2486 case DAY_OF_WEEK: in getActualMaximum() 2536 case DAY_OF_WEEK: in getActualMinimum() 2602 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2619 set(DAY_OF_WEEK, dow); in prepareGetActual() 2962 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3020 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3081 case DAY_OF_WEEK: in roll() 3091 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3266 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/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/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/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 */
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 1451 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1497 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1503 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1741 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1885 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2954 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3410 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3415 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3421 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3428 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 1442 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1488 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1494 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1729 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1873 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2938 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3392 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3397 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3403 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3410 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 129 com.ibm.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
|