Searched refs:whenDate (Results 1 – 2 of 2) sorted by relevance
58 final LocalDate whenDate = FAKE_DATE.minusDays(1); in testGetDateHeaderString_yesterday() local59 final long when = generateDateTimeMillis(whenDate); in testGetDateHeaderString_yesterday()68 final LocalDate whenDate = FAKE_DATE.minusDays(3); in testGetDateHeaderString_weekday() local69 final long when = generateDateTimeMillis(whenDate); in testGetDateHeaderString_weekday()78 final LocalDate whenDate = FAKE_DATE.minusMonths(1); in testGetDateHeaderString_weekdayAndDate() local79 final long when = generateDateTimeMillis(whenDate); in testGetDateHeaderString_weekdayAndDate()88 final LocalDate whenDate = FAKE_DATE.minusYears(1); in testGetDateHeaderString_weekdayDateAndYear() local89 long when = generateDateTimeMillis(whenDate); in testGetDateHeaderString_weekdayDateAndYear()104 final LocalDate whenDate = FAKE_DATE.minusMonths(1).minusDays(4);; in testCapitalizedInDifferentLanguages() local105 final long when = generateDateTimeMillis(whenDate); in testCapitalizedInDifferentLanguages()[all …]
89 final LocalDate whenDate = LocalDateTime.ofInstant(Instant.ofEpochMilli(when), in getDateHeaderString() local92 final long dayDiff = ChronoUnit.DAYS.between(whenDate, nowDate); in getDateHeaderString()101 } else if (whenDate.getYear() == nowDate.getYear()) { in getDateHeaderString()