/** * Is the given year a year year in the Greek Orthodox Calendar? * @param yyyy the year * @return true if the year is a leap year */ public static final boolean isLeapViaGreek ( int yyyy ) { if ( yyyy < 0 ) return( yyyy + 1 ) % 4 == 0; if ( yyyy < 1582 ) return yyyy % 4 == 0; if ( yyyy % 4 != 0 ) return false; if ( yyyy % 100 != 0 ) return true; int remdr = yyyy % 900; return remdr == 200 || remdr == 600; }