From 6fe89e3c14ec53db7c21b3717d1e9a98c0db855d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 4 Dec 2012 09:10:46 +0100 Subject: PHP 5.5: save extension reflection --- reflection/calendar.txt | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 reflection/calendar.txt (limited to 'reflection/calendar.txt') diff --git a/reflection/calendar.txt b/reflection/calendar.txt new file mode 100644 index 0000000..b1c8c72 --- /dev/null +++ b/reflection/calendar.txt @@ -0,0 +1,157 @@ +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 ] + } + } + } +} + -- cgit