Date function ( ) { if ( isValid ( month , day + 1 , year ) ) return new Date ( month , day + 1 , year ) ; else if ( isValid ( month + 1 , 1 , year ) ) return new Date ( month + 1 , 1 , year ) ; else return new Date ( 1 , 1 , year + 1 ) ; }
returns the next date in the calendar . concode_field_sep int month concode_elem_sep int year concode_elem_sep int[] DAYS concode_elem_sep int day concode_field_sep int month concode_elem_sep int year concode_elem_sep int hashCode concode_elem_sep boolean isValid concode_elem_sep boolean equals concode_elem_sep boolean isLeapYear concode_elem_sep void main concode_elem_sep String toString concode_elem_sep int compareTo concode_elem_sep int day concode_elem_sep boolean isAfter concode_elem_sep boolean isBefore