Searched refs:year (Results 1 – 3 of 3) sorted by relevance
203 int year = Calendar.getInstance().get(Calendar.YEAR); in testLogcatCollectionWithBeforeDuration() local204 String finalDateWithYear = year + " " + capturedList.get(0); in testLogcatCollectionWithBeforeDuration()415 String year = String.format("%04d", Calendar.getInstance().get(Calendar.YEAR)); in testLogcatTimespan() local442 DATE_FORMATTER.parse(year + " " + firstLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()444 DATE_FORMATTER.parse(year + " " + lastLine, new ParsePosition(0)).getTime(); in testLogcatTimespan()
121 int year = date.getYear(); in setDate() local131 String year_string = "" + year; in setDate()177 int year = Integer.valueOf(arr[2]); in getDate() local180 return LocalDate.of(year, month, day); in getDate()
174 int year = Integer.valueOf(arr[2]); in formatDate() local177 return new Date(year, month, day); in formatDate()