boolean function ( int arg0 ) { if ( arg0 % 4 != 0 ) return false ; if ( arg0 < GREGORIAN_START_YEAR ) return true ; return ( arg0 % 100 != 0 ) || ( arg0 % 400 == 0 ) ; }
tests if a year is a leap year . concode_field_sep int date concode_elem_sep int GREGORIAN_START_YEAR concode_elem_sep int[] DAYS_PER_MONTH concode_elem_sep int month concode_elem_sep int year concode_elem_sep int JULIAN_END_DAY concode_elem_sep int GREGORIAN_START_DAY concode_elem_sep int GREGORIAN_START_MONTH concode_elem_sep int FEBRUARY concode_elem_sep int DECEMBER concode_elem_sep int JANUARY concode_field_sep int daysFrom concode_elem_sep int getYear concode_elem_sep int daysPerMonth concode_elem_sep void addDays concode_elem_sep String toString concode_elem_sep int getMonth concode_elem_sep int getDayOfMonth concode_elem_sep int compareTo concode_elem_sep void nextDay concode_elem_sep void previousDay