Java Leap Year Check isJalaliLeapYear(int year)

Here you can find the source of isJalaliLeapYear(int year)

Description

is Jalali Leap Year

License

Apache License

Declaration

public static boolean isJalaliLeapYear(int year) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static boolean isJalaliLeapYear(int year) {
        int mod = (year + 11) % 33;
        if ((mod != 32) && ((mod % 4) == 0)) {
            return true;
        } else {/* w w  w  .j  a  v a 2 s . c om*/
            return false;
        }
    }
}

Related

  1. getLeapYear(int theyear)
  2. getMonthOfYear(int dayOfYear, boolean leap)
  3. isGregorianLeapYear(int gregorianYear)
  4. isGregorianLeapYear(int gregorianYear)
  5. isJulianLeapYear(int normalizedJulianYear)
  6. isJulianLeapYear(int normalizedJulianYear)
  7. isLeapYear(final int year)
  8. isLeapYear(final int year)