Searched refs:isValidYear (Results 1 – 3 of 3) sorted by relevance
502 public boolean isValidYear(int year) { in isValidYear() method in MonthDay659 return LocalDate.of(year, month, isValidYear(year) ? day : 28); in atYear()
535 return monthDay != null && monthDay.isValidYear(year); in isValidMonthDay()
616 assertEquals(test.isValidYear(2007), true); in test_isValidYear_june()622 assertEquals(test.isValidYear(2007), false); in test_isValidYear_febNonLeap()628 assertEquals(test.isValidYear(2008), true); in test_isValidYear_febLeap()