src/edu/kit/informatik/calendar_sample/YearKind.java
/**
     * Returns the kind of the specified year.
     * 
     * @param  year the year
     * @return {@linkplain #LEAP_YEAR} if the specified year is a leap year, {@linkplain #NO_LEAP_YEAR} otherwise
     */
Returns the kind of the specified year.

@param  year the year
@return  #LEAP_YEAR if the specified year is a leap year,  #NO_LEAP_YEAR otherwise
Returns the kind of the specified year . @param year the year @return #LEAP_YEAR if the specified year is a leap year #NO_LEAP_YEAR otherwise
public static YearKind of(
            final int year) {
        return (year & 3) == 0 && (year % 100 != 0 || year % 400 == 0) ? LEAP_YEAR : NO_LEAP_YEAR;
    }
public static YearKind of ( final int year ) { return ( year & 3 ) == 0 && ( year % 100 != 0 || year % 400 == 0 ) ? LEAP_YEAR : NO_LEAP_YEAR ; }
Returns the kind of the specified year.
Returns the kind of the specified year .
////