Home
last modified time | relevance | path

Searched refs:DAY_OF_WEEK (Results 1 – 25 of 76) sorted by relevance

1234

/external/libtextclassifier/native/annotator/datetime/
Dutils.cc28 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()
Dextractor.cc155 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/
DCompatibilityTest.java103 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 …]
DChineseTestCase.java43 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase()
51 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
DTestCase.java63 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()
DCalendarRegressionTest.java199 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/
DCompatibilityTest.java106 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 …]
DChineseTestCase.java46 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase()
54 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
DTestCase.java66 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()
DCalendarRegressionTest.java202 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/
DCalendarTest.java473 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/
DCalendar.java798 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 …]
DChineseCalendar.java492 { 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 },
DSimpleDateRule.java192 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java789 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 …]
DChineseCalendar.java477 { 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 },
DSimpleDateRule.java187 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/
DCalendar.java777 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/
DCalendarPanel.java137 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/
Ddate-match.cc296 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/
DCalendarICU.java148 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/
DSimpleDateFormat.java496 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_WEEK)) { in formatToCharacterIterator()
497 val = attr = Field.DAY_OF_WEEK ; in formatToCharacterIterator()
DDateFormat.java1703 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/
DSIPDate.java173 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/
DDebugUtilitiesData.java133 android.icu.util.Calendar.DAY_OF_WEEK, /* 7 */

1234