pikaday.js
/*
  Checks whether a Jalaali date is valid or not.
*/
Checks whether a Jalaali date is valid or not.
Checks whether a Jalaali date is valid or not .
function isValidJalaaliDate(jy, jm, jd) {
    return jy >= -61 && jy <= 3177 &&
        jm >= 1 && jm <= 12 &&
        jd >= 1 && jd <= jalaaliMonthLength(jy, jm)
}
function isValidJalaaliDate ( jy , jm , jd ) { return jy >= - 61 && jy <= 3177 && jm >= 1 && jm <= 12 && jd >= 1 && jd <= jalaaliMonthLength ( jy , jm ) }
Checks whether a Jalaali date is valid or not.
Checks whether a Jalaali date is valid or not .