Home
last modified time | relevance | path

Searched refs:DAY_OF_MONTH (Results 1 – 25 of 141) sorted by relevance

123456

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser_test.cc90 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
100 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
107 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 31) in TEST_F()
114 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
124 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
135 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 2) in TEST_F()
145 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
156 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 16) in TEST_F()
164 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 16) in TEST_F()
175 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 26) in TEST_F()
[all …]
Dgrammar-parser_test.cc80 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
91 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 2) in TEST_F()
99 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
109 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
116 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 31) in TEST_F()
123 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
133 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
144 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 2) in TEST_F()
154 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
166 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 26) in TEST_F()
[all …]
Dextractor.cc85 result->SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_MONTH, in Extract()
551 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
554 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
556 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
558 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DDateDeserializationTest.java163 assertEquals(28, c.get(Calendar.DAY_OF_MONTH)); in testDateUtilISO8601()
171 assertEquals(28, c.get(Calendar.DAY_OF_MONTH)); in testDateUtilISO8601()
179 assertEquals(28, c.get(Calendar.DAY_OF_MONTH)); in testDateUtilISO8601()
187 assertEquals(28, c.get(Calendar.DAY_OF_MONTH)); in testDateUtilISO8601()
194 assertEquals(30, c.get(Calendar.DAY_OF_MONTH)); in testDateUtilISO8601()
209 assertEquals(3, c.get(Calendar.DAY_OF_MONTH)); in testISO8601PartialMilliseconds()
217 assertEquals(3, c.get(Calendar.DAY_OF_MONTH)); in testISO8601PartialMilliseconds()
228 assertEquals(16, c.get(Calendar.DAY_OF_MONTH)); in testISO8601PartialMilliseconds()
240 assertEquals(16, c.get(Calendar.DAY_OF_MONTH)); in testISO8601PartialMilliseconds()
252 assertEquals(16, c.get(Calendar.DAY_OF_MONTH)); in testISO8601PartialMilliseconds()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDangiTest.java92 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
119 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
144 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM()
149 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM()
202 Calendar.DAY_OF_MONTH, 1, in TestResolution()
210 Calendar.DAY_OF_MONTH, 1, // Should ignore in TestResolution()
217 Calendar.DAY_OF_MONTH, 1, in TestResolution()
240 int dom = cal.get(Calendar.DAY_OF_MONTH); in TestResolution()
250 cal.set(Calendar.DAY_OF_MONTH, expDOM); in TestResolution()
365 cal.set(Calendar.DAY_OF_MONTH, test[3]); in doRollAddDangi()
DChineseTest.java112 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
140 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
166 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM()
171 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM()
327 Calendar.DAY_OF_MONTH, 1, in TestResolution()
335 Calendar.DAY_OF_MONTH, 1, // Should ignore in TestResolution()
354 Calendar.DAY_OF_MONTH, 1, in TestResolution()
377 int dom = cal.get(Calendar.DAY_OF_MONTH); in TestResolution()
387 cal.set(Calendar.DAY_OF_MONTH, expDOM); in TestResolution()
504 cal.set(Calendar.DAY_OF_MONTH, test[3]); in doRollAdd()
DChineseTestCase.java45 set(Calendar.DAY_OF_MONTH, dayOfMonth); in ChineseTestCase()
58 get(Calendar.DAY_OF_MONTH); in toString()
DCompatibilityTest.java210 dom2 = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
231 dom2 = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
265 int dom2 = cal.get(Calendar.DAY_OF_MONTH); in auxMapping()
988 Calendar.DAY_OF_MONTH, 22,
1060 if (cal.getActualMinimum(Calendar.DAY_OF_MONTH) != 1) in TestActualMinMax()
1062 cal.getActualMinimum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
1063 if (cal.getActualMaximum(Calendar.DAY_OF_MONTH) != 31) in TestActualMinMax()
1065 cal.getActualMaximum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
1068 if (cal.getActualMaximum(Calendar.DAY_OF_MONTH) != 28) in TestActualMinMax()
1070 cal.getActualMaximum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
[all …]
DPersianTest.java97 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
121 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
DCalendarTestFmwk.java172 cal.set(Calendar.DAY_OF_MONTH, test[2]); in doRollAdd()
238 Calendar.DAY_OF_MONTH, Calendar.DAY_OF_YEAR, in doLimitsTest()
367 int maxDOM = cal.getMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
368 int lmaxDOM = cal.getLeastMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDangiTest.java89 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
116 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
141 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM()
146 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM()
199 Calendar.DAY_OF_MONTH, 1, in TestResolution()
207 Calendar.DAY_OF_MONTH, 1, // Should ignore in TestResolution()
214 Calendar.DAY_OF_MONTH, 1, in TestResolution()
237 int dom = cal.get(Calendar.DAY_OF_MONTH); in TestResolution()
247 cal.set(Calendar.DAY_OF_MONTH, expDOM); in TestResolution()
362 cal.set(Calendar.DAY_OF_MONTH, test[3]); in doRollAddDangi()
DChineseTest.java109 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
137 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
163 if (cal.get(Calendar.DAY_OF_MONTH) == 0) { in TestZeroDOM()
168 "/" + cal.get(Calendar.DAY_OF_MONTH)); in TestZeroDOM()
324 Calendar.DAY_OF_MONTH, 1, in TestResolution()
332 Calendar.DAY_OF_MONTH, 1, // Should ignore in TestResolution()
351 Calendar.DAY_OF_MONTH, 1, in TestResolution()
374 int dom = cal.get(Calendar.DAY_OF_MONTH); in TestResolution()
384 cal.set(Calendar.DAY_OF_MONTH, expDOM); in TestResolution()
501 cal.set(Calendar.DAY_OF_MONTH, test[3]); in doRollAdd()
DChineseTestCase.java42 set(Calendar.DAY_OF_MONTH, dayOfMonth); in ChineseTestCase()
55 get(Calendar.DAY_OF_MONTH); in toString()
DCompatibilityTest.java207 dom2 = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
228 dom2 = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
262 int dom2 = cal.get(Calendar.DAY_OF_MONTH); in auxMapping()
985 Calendar.DAY_OF_MONTH, 22,
1057 if (cal.getActualMinimum(Calendar.DAY_OF_MONTH) != 1) in TestActualMinMax()
1059 cal.getActualMinimum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
1060 if (cal.getActualMaximum(Calendar.DAY_OF_MONTH) != 31) in TestActualMinMax()
1062 cal.getActualMaximum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
1065 if (cal.getActualMaximum(Calendar.DAY_OF_MONTH) != 28) in TestActualMinMax()
1067 cal.getActualMaximum(Calendar.DAY_OF_MONTH)); in TestActualMinMax()
[all …]
DPersianTest.java94 int d = cal.get(Calendar.DAY_OF_MONTH); in TestMapping()
118 cal.set(Calendar.DAY_OF_MONTH, cdayofmonth); in TestMapping()
DIBMCalendarTest.java541 d = cal.fieldDifference(ayl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
543 int d2 = cal.fieldDifference(asl, Calendar.DAY_OF_MONTH); in TestLeapFieldDifference()
656 cal.set(Calendar.DAY_OF_MONTH, 25); in TestTimeZoneTransitionAdd()
660 int yesterday_day = cal.get(Calendar.DAY_OF_MONTH); in TestTimeZoneTransitionAdd()
661 cal.add(Calendar.DAY_OF_MONTH, 1); in TestTimeZoneTransitionAdd()
662 if (yesterday_day == cal.get(Calendar.DAY_OF_MONTH)) { in TestTimeZoneTransitionAdd()
879 c1.add(Calendar.DAY_OF_MONTH, 1); in TestComparable()
1030 assertEquals("handleComputeFields: day set", 2, get(DAY_OF_MONTH)); in TestCoverage()
1236 && day == cal.get(Calendar.DAY_OF_MONTH) in isEquivalentTo()
1246 int day = cal.get(Calendar.DAY_OF_MONTH); in createFrom()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java777 public final static int DAY_OF_MONTH = 5; field in Calendar
1704 (1 << DAY_OF_MONTH) | in initInternal()
2486 case DAY_OF_MONTH: in getActualMaximum()
2614 set(DAY_OF_MONTH, getGreatestMinimum(DAY_OF_MONTH)); in prepareGetActual()
2620 set(DAY_OF_MONTH, 1); in prepareGetActual()
2834 case DAY_OF_MONTH: in roll()
2899 pinField(DAY_OF_MONTH); in roll()
2940 pinField(DAY_OF_MONTH); in roll()
2947 pinField(DAY_OF_MONTH); in roll()
2986 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
[all …]
DChineseCalendar.java487 { DAY_OF_MONTH },
495 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH },
545 if (getActualMaximum(DAY_OF_MONTH) >= dom) { in offsetMonth()
561 int dom = get(DAY_OF_MONTH); in add()
581 int dom = get(DAY_OF_MONTH); in roll()
909 internalSet(DAY_OF_MONTH, dayOfMonth); in computeChineseFields()
DHebrewCalendar.java493 pinField(DAY_OF_MONTH); in add()
559 pinField(DAY_OF_MONTH); in roll()
831 internalSet(DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DCalendar.java770 public final static int DAY_OF_MONTH = 5; field in Calendar
1639 (1 << DAY_OF_MONTH) | in initInternal()
2394 case DAY_OF_MONTH: in getActualMaximum()
2520 set(DAY_OF_MONTH, getGreatestMinimum(DAY_OF_MONTH)); in prepareGetActual()
2526 set(DAY_OF_MONTH, 1); in prepareGetActual()
2738 case DAY_OF_MONTH: in roll()
2803 pinField(DAY_OF_MONTH); in roll()
2844 pinField(DAY_OF_MONTH); in roll()
2851 pinField(DAY_OF_MONTH); in roll()
2890 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
[all …]
DChineseCalendar.java472 { DAY_OF_MONTH },
480 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH },
529 if (getActualMaximum(DAY_OF_MONTH) >= dom) { in offsetMonth()
544 int dom = get(DAY_OF_MONTH); in add()
563 int dom = get(DAY_OF_MONTH); in roll()
890 internalSet(DAY_OF_MONTH, dayOfMonth); in computeChineseFields()
DHebrewCalendar.java470 pinField(DAY_OF_MONTH); in add()
535 pinField(DAY_OF_MONTH); in roll()
805 internalSet(DAY_OF_MONTH, dayOfMonth); in handleComputeFields()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/
DDurationFormatUtils.java303 int days = end.get(Calendar.DAY_OF_MONTH) - start.get(Calendar.DAY_OF_MONTH); in formatPeriod()
327 days += start.getActualMaximum(Calendar.DAY_OF_MONTH); in formatPeriod()
359 start.get(Calendar.DAY_OF_MONTH) == 29) { in formatPeriod()
372 days += start.getActualMaximum(Calendar.DAY_OF_MONTH); in formatPeriod()
379 days += start.getActualMaximum(Calendar.DAY_OF_MONTH); in formatPeriod()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPDateTimeImpl.java82 this.day = intCalendar.get(Calendar.DAY_OF_MONTH); in XMPDateTimeImpl()
104 this.day = calendar.get(Calendar.DAY_OF_MONTH); in XMPDateTimeImpl()
321 calendar.set(Calendar.DAY_OF_MONTH, day); in getCalendar()
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
DIsoDate.java53 dd(buf, c.get(Calendar.DAY_OF_MONTH)); in dateToString()
89 Calendar.DAY_OF_MONTH, in stringToDate()

123456