Home
last modified time | relevance | path

Searched refs:MONTH (Results 1 – 12 of 12) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DDateValueSanitizerTest.java66 inputCal.set(Calendar.MONTH, Calendar.DECEMBER); in testSanitize_ok()
75 expectedCal.set(Calendar.MONTH, Calendar.DECEMBER); in testSanitize_ok()
DDateTransformationTest.java88 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testValidAutofillValue()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java68 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based. field in DateFormatTest
185 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods()
208 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); in testFormatMethods()
211 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods()
324 Date date = new Date(YEAR_FROM_1900, MONTH, DAY); in test_ContextLocaleIsUsed()
DTimeTest.java103 assertEquals(3, cal.get(Calendar.MONTH)); in testNormalize()
628 assertEquals(11, t.getActualMaximum(Time.MONTH)); in testGetActualMaximum()
660 for (int i = 0; i < t.getActualMaximum(Time.MONTH); i++) { in verifyMonth()
3049 calendar.get(Calendar.MONTH) + 1, in createLocalDateTime()
3240 calendar.get(Calendar.MONTH), in setDateTime()
/cts/tests/tests/widget/src/android/widget/cts/
DDatePickerTest.java245 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in testCalendarViewInSpinnerMode()
249 calendar.get(Calendar.MONTH), in testCalendarViewInSpinnerMode()
257 assertEquals(calendar.get(Calendar.MONTH), calendarFromSpinner.get(Calendar.MONTH)); in testCalendarViewInSpinnerMode()
354 assertEquals(Calendar.JANUARY, calendar.get(Calendar.MONTH)); in verifyAutofill()
DCalendarViewTest.java219 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in verifyOnDateChangeListener()
/cts/tests/autofillservice/src/android/autofillservice/cts/commontests/
DDatePickerTestCase.java56 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testAutoFillAndSave()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DCustomDescriptionDateTest.java126 cal.set(Calendar.MONTH, Calendar.DECEMBER);
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/
DSuplRrlpMessagesGenerator.java218 utcTime.setMonth(currentTime.get(Calendar.MONTH) + 1); // Calendar's MONTH starts from 0. in generateSuplPositionInitLocalLocationMessage()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/systemupdate/
DSystemUpdatePolicyTest.java447 c.set(Calendar.MONTH, date.getMonthValue() - 1); in setSystemDate()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java138 private static final long MONTH = 30 * DAY; field in UsageStatsTest
628 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in testPackageUsageStatsIntervals()
1097 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in getAggrEventData()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java666 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue()