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.java69 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based. field in DateFormatTest
186 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); in testFormatMethods()
209 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); in testFormatMethods()
212 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); in testFormatMethods()
325 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.java255 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in testCalendarViewInSpinnerMode()
259 calendar.get(Calendar.MONTH), in testCalendarViewInSpinnerMode()
267 assertEquals(calendar.get(Calendar.MONTH), calendarFromSpinner.get(Calendar.MONTH)); in testCalendarViewInSpinnerMode()
364 assertEquals(Calendar.JANUARY, calendar.get(Calendar.MONTH)); in verifyAutofill()
DCalendarViewTest.java230 calendar.set(Calendar.MONTH, Calendar.SEPTEMBER); in verifyOnDateChangeListener()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DCustomDescriptionDateTest.java127 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.java204 private static final long MONTH = 30 * DAY; field in UsageStatsTest
892 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in testPackageUsageStatsIntervals()
1581 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH); in getAggrEventData()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DHelper.java693 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt48359 field @Deprecated public static final int MONTH = 5; // 0x5