Home
last modified time | relevance | path

Searched refs:year (Results 1 – 3 of 3) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatCollectorTest.java203 int year = Calendar.getInstance().get(Calendar.YEAR); in testLogcatCollectionWithBeforeDuration() local
204 String finalDateWithYear = year + " " + capturedList.get(0); in testLogcatCollectionWithBeforeDuration()
415 String year = String.format("%04d", Calendar.getInstance().get(Calendar.YEAR)); in testLogcatTimespan() local
442 DATE_FORMATTER.parse(year + " " + firstLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()
444 DATE_FORMATTER.parse(year + " " + lastLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()
/platform_testing/libraries/automotive-helpers/settings-app-helper/src/android/platform/helpers/
DSettingsDateTimeHelperImpl.java121 int year = date.getYear(); in setDate() local
131 String year_string = "" + year; in setDate()
177 int year = Integer.valueOf(arr[2]); in getDate() local
180 return LocalDate.of(year, month, day); in getDate()
DSettingsSystemHelperImpl.java174 int year = Integer.valueOf(arr[2]); in formatDate() local
177 return new Date(year, month, day); in formatDate()