Extension [ extension #9 calendar version ] { - Constants [21] { Constant [ integer CAL_GREGORIAN ] { 0 } Constant [ integer CAL_JULIAN ] { 1 } Constant [ integer CAL_JEWISH ] { 2 } Constant [ integer CAL_FRENCH ] { 3 } Constant [ integer CAL_NUM_CALS ] { 4 } Constant [ integer CAL_DOW_DAYNO ] { 0 } Constant [ integer CAL_DOW_SHORT ] { 1 } Constant [ integer CAL_DOW_LONG ] { 2 } Constant [ integer CAL_MONTH_GREGORIAN_SHORT ] { 0 } Constant [ integer CAL_MONTH_GREGORIAN_LONG ] { 1 } Constant [ integer CAL_MONTH_JULIAN_SHORT ] { 2 } Constant [ integer CAL_MONTH_JULIAN_LONG ] { 3 } Constant [ integer CAL_MONTH_JEWISH ] { 4 } Constant [ integer CAL_MONTH_FRENCH ] { 5 } Constant [ integer CAL_EASTER_DEFAULT ] { 0 } Constant [ integer CAL_EASTER_ROMAN ] { 1 } Constant [ integer CAL_EASTER_ALWAYS_GREGORIAN ] { 2 } Constant [ integer CAL_EASTER_ALWAYS_JULIAN ] { 3 } Constant [ integer CAL_JEWISH_ADD_ALAFIM_GERESH ] { 2 } Constant [ integer CAL_JEWISH_ADD_ALAFIM ] { 4 } Constant [ integer CAL_JEWISH_ADD_GERESHAYIM ] { 8 } } - Functions { Function [ function jdtogregorian ] { - Parameters [1] { Parameter #0 [ $juliandaycount ] } } Function [ function gregoriantojd ] { - Parameters [3] { Parameter #0 [ $month ] Parameter #1 [ $day ] Parameter #2 [ $year ] } } Function [ function jdtojulian ] { - Parameters [1] { Parameter #0 [ $juliandaycount ] } } Function [ function juliantojd ] { - Parameters [3] { Parameter #0 [ $month ] Parameter #1 [ $day ] Parameter #2 [ $year ] } } Function [ function jdtojewish ] { - Parameters [3] { Parameter #0 [ $juliandaycount ] Parameter #1 [ $hebrew ] Parameter #2 [ $fl ] } } Function [ function jewishtojd ] { - Parameters [3] { Parameter #0 [ $month ] Parameter #1 [ $day ] Parameter #2 [ $year ] } } Function [ function jdtofrench ] { - Parameters [1] { Parameter #0 [ $juliandaycount ] } } Function [ function frenchtojd ] { - Parameters [3] { Parameter #0 [ $month ] Parameter #1 [ $day ] Parameter #2 [ $year ] } } Function [ function jddayofweek ] { - Parameters [2] { Parameter #0 [ $juliandaycount ] Parameter #1 [ $mode ] } } Function [ function jdmonthname ] { - Parameters [2] { Parameter #0 [ $juliandaycount ] Parameter #1 [ $mode ] } } Function [ function easter_date ] { - Parameters [1] { Parameter #0 [ $year ] } } Function [ function easter_days ] { - Parameters [2] { Parameter #0 [ $year ] Parameter #1 [ $method ] } } Function [ function unixtojd ] { - Parameters [1] { Parameter #0 [ $timestamp ] } } Function [ function jdtounix ] { - Parameters [1] { Parameter #0 [ $jday ] } } Function [ function cal_to_jd ] { - Parameters [4] { Parameter #0 [ $calendar ] Parameter #1 [ $month ] Parameter #2 [ $day ] Parameter #3 [ $year ] } } Function [ function cal_from_jd ] { - Parameters [2] { Parameter #0 [ $jd ] Parameter #1 [ $calendar ] } } Function [ function cal_days_in_month ] { - Parameters [3] { Parameter #0 [ $calendar ] Parameter #1 [ $month ] Parameter #2 [ $year ] } } Function [ function cal_info ] { - Parameters [1] { Parameter #0 [ $calendar ] } } } }