Searched refs:year (Results 1 – 3 of 3) sorted by relevance
72 int year = date.getYear(); in setDate() local82 String year_string = "" + year; in setDate()131 int year = Integer.valueOf(arr[2]); in getDate() local134 return LocalDate.of(year, month, day); in getDate()
128 int year = Integer.valueOf(arr[2]); in formatDate() local131 return new Date(year, month, day); in formatDate()
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()