Here you can find the source of isJalaliLeapYear(int year)
public static boolean isJalaliLeapYear(int year)
//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; } } }