/** * Is the given year a year year in the Julian Calendar? * @param yyyy the year * @return true if the year is a leap year */ public static final boolean isLeapViaJulian ( int yyyy ) { if ( yyyy < 0 ) { return( yyyy + 1 ) % 4 == 0; } else { return yyyy % 4 == 0; } }