Skip to content
This repository has been archived by the owner on Mar 20, 2018. It is now read-only.

Commit

Permalink
Remove isLeapDay
Browse files Browse the repository at this point in the history
git-svn-id: https://threeten.svn.sourceforge.net/svnroot/threeten/trunk/threeten@1320 291d795c-afe8-5c46-8ee5-bf9dd72e1864
  • Loading branch information
jodastephen committed Jan 7, 2011
1 parent dd42d82 commit 05fcc59
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/main/java/javax/time/i18n/HistoricDate.java
Expand Up @@ -336,19 +336,6 @@ public boolean isLeapYear() {
return chrono.isLeapYear(getYear());
}

/**
* Checks if the date represented is the leap day in a leap year.
* <p>
* The leap day is when the year is a leap year, the month is February and
* the day is 29.
*
* @return true if this date is the leap day in a leap year
*/
public boolean isLeapDay() {
// no need to check leap year, as date always valid
return getMonthOfYear().isFebruary() && getDayOfMonth() == 29;
}

//-----------------------------------------------------------------------
/**
* Returns a copy of this date with the year value altered.
Expand Down

0 comments on commit 05fcc59

Please sign in to comment.