Home
last modified time | relevance | path

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

12345

/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.cc75 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
86 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 2) in TEST_F()
94 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
104 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
111 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 31) in TEST_F()
118 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 1) in TEST_F()
128 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
139 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 2) in TEST_F()
149 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 9) in TEST_F()
161 .Add(DatetimeComponent::ComponentType::DAY_OF_MONTH, 26) in TEST_F()
[all …]
Dextractor.cc83 result->SetAbsoluteValue(DatetimeComponent::ComponentType::DAY_OF_MONTH, in Extract()
548 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
551 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
553 DatetimeComponent::ComponentType::DAY_OF_MONTH}, in ParseFieldType()
555 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/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()
DCalendarTestFmwk.java169 cal.set(Calendar.DAY_OF_MONTH, test[2]); in doRollAdd()
235 Calendar.DAY_OF_MONTH, Calendar.DAY_OF_YEAR, in doLimitsTest()
364 int maxDOM = cal.getMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
365 int lmaxDOM = cal.getLeastMaximum(Calendar.DAY_OF_MONTH); in doTheoreticalLimitsTest()
/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/android_icu4j/src/main/java/android/icu/util/
DCalendar.java769 public final static int DAY_OF_MONTH = 5; field in Calendar
1619 (1 << DAY_OF_MONTH) | in initInternal()
2374 case DAY_OF_MONTH: in getActualMaximum()
2500 set(DAY_OF_MONTH, getGreatestMinimum(DAY_OF_MONTH)); in prepareGetActual()
2506 set(DAY_OF_MONTH, 1); in prepareGetActual()
2718 case DAY_OF_MONTH: in roll()
2783 pinField(DAY_OF_MONTH); in roll()
2824 pinField(DAY_OF_MONTH); in roll()
2831 pinField(DAY_OF_MONTH); in roll()
2870 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
[all …]
DChineseCalendar.java476 { DAY_OF_MONTH },
484 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH },
533 if (getActualMaximum(DAY_OF_MONTH) >= dom) { in offsetMonth()
548 int dom = get(DAY_OF_MONTH); in add()
567 int dom = get(DAY_OF_MONTH); in roll()
894 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/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DCalendar.java776 public final static int DAY_OF_MONTH = 5; field in Calendar
1684 (1 << DAY_OF_MONTH) | in initInternal()
2467 case DAY_OF_MONTH: in getActualMaximum()
2595 set(DAY_OF_MONTH, getGreatestMinimum(DAY_OF_MONTH)); in prepareGetActual()
2601 set(DAY_OF_MONTH, 1); in prepareGetActual()
2815 case DAY_OF_MONTH: in roll()
2880 pinField(DAY_OF_MONTH); in roll()
2921 pinField(DAY_OF_MONTH); in roll()
2928 pinField(DAY_OF_MONTH); in roll()
2967 int fdm = (dow - internalGet(DAY_OF_MONTH) + 1) % 7; in roll()
[all …]
DChineseCalendar.java491 { DAY_OF_MONTH },
499 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH },
549 if (getActualMaximum(DAY_OF_MONTH) >= dom) { in offsetMonth()
565 int dom = get(DAY_OF_MONTH); in add()
585 int dom = get(DAY_OF_MONTH); in roll()
913 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/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()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-common.h147 DatetimeComponent::ComponentType::DAY_OF_MONTH)) { in InterpretParseData()
149 parse_data.GetFieldValue(DatetimeComponent::ComponentType::DAY_OF_MONTH, in InterpretParseData()
316 case DatetimeComponent::ComponentType::DAY_OF_MONTH: in AdjustByRelation()

12345