1 /* This is a generated file, edit the .stub.php file instead.
2 * Stub hash: 7be0e49d2b898587c4bbefaaf613932ae4786c52 */
3
4 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar___construct, 0, 0, 0)
5 ZEND_END_ARG_INFO()
6
7 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlCalendar_createInstance, 0, 0, IntlCalendar, 1)
8 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, timezone, "null")
9 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
10 ZEND_END_ARG_INFO()
11
12 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_equals, 0, 1, _IS_BOOL, 0)
13 ZEND_ARG_OBJ_INFO(0, other, IntlCalendar, 0)
14 ZEND_END_ARG_INFO()
15
16 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_fieldDifference, 0, 2, MAY_BE_LONG|MAY_BE_FALSE)
17 ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
18 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
19 ZEND_END_ARG_INFO()
20
21 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_add, 0, 2, _IS_BOOL, 0)
22 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
23 ZEND_ARG_TYPE_INFO(0, value, IS_LONG, 0)
24 ZEND_END_ARG_INFO()
25
26 #define arginfo_class_IntlCalendar_after arginfo_class_IntlCalendar_equals
27
28 #define arginfo_class_IntlCalendar_before arginfo_class_IntlCalendar_equals
29
30 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_clear, 0, 0, 0)
31 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, field, IS_LONG, 1, "null")
32 ZEND_END_ARG_INFO()
33
34 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_IntlCalendar_fromDateTime, 0, 1, IntlCalendar, 1)
35 ZEND_ARG_OBJ_TYPE_MASK(0, datetime, DateTime, MAY_BE_STRING, NULL)
36 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, locale, IS_STRING, 1, "null")
37 ZEND_END_ARG_INFO()
38
39 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_get, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
40 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
41 ZEND_END_ARG_INFO()
42
43 #define arginfo_class_IntlCalendar_getActualMaximum arginfo_class_IntlCalendar_get
44
45 #define arginfo_class_IntlCalendar_getActualMinimum arginfo_class_IntlCalendar_get
46
47 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_getAvailableLocales, 0, 0, IS_ARRAY, 0)
48 ZEND_END_ARG_INFO()
49
50 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getDayOfWeekType, 0, 1, MAY_BE_LONG|MAY_BE_FALSE)
51 ZEND_ARG_TYPE_INFO(0, dayOfWeek, IS_LONG, 0)
52 ZEND_END_ARG_INFO()
53
54 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getErrorCode, 0, 0, MAY_BE_LONG|MAY_BE_FALSE)
55 ZEND_END_ARG_INFO()
56
57 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getErrorMessage, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
58 ZEND_END_ARG_INFO()
59
60 #define arginfo_class_IntlCalendar_getFirstDayOfWeek arginfo_class_IntlCalendar_getErrorCode
61
62 #define arginfo_class_IntlCalendar_getGreatestMinimum arginfo_class_IntlCalendar_get
63
64 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlCalendar_getKeywordValuesForLocale, 0, 3, IntlIterator, MAY_BE_FALSE)
65 ZEND_ARG_TYPE_INFO(0, keyword, IS_STRING, 0)
66 ZEND_ARG_TYPE_INFO(0, locale, IS_STRING, 0)
67 ZEND_ARG_TYPE_INFO(0, onlyCommon, _IS_BOOL, 0)
68 ZEND_END_ARG_INFO()
69
70 #define arginfo_class_IntlCalendar_getLeastMaximum arginfo_class_IntlCalendar_get
71
72 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getLocale, 0, 1, MAY_BE_STRING|MAY_BE_FALSE)
73 ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
74 ZEND_END_ARG_INFO()
75
76 #define arginfo_class_IntlCalendar_getMaximum arginfo_class_IntlCalendar_get
77
78 #define arginfo_class_IntlCalendar_getMinimalDaysInFirstWeek arginfo_class_IntlCalendar_getErrorCode
79
80 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_setMinimalDaysInFirstWeek, 0, 0, 1)
81 ZEND_ARG_TYPE_INFO(0, days, IS_LONG, 0)
82 ZEND_END_ARG_INFO()
83
84 #define arginfo_class_IntlCalendar_getMinimum arginfo_class_IntlCalendar_get
85
86 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_getNow, 0, 0, IS_DOUBLE, 0)
87 ZEND_END_ARG_INFO()
88
89 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_getRepeatedWallTimeOption, 0, 0, IS_LONG, 0)
90 ZEND_END_ARG_INFO()
91
92 #define arginfo_class_IntlCalendar_getSkippedWallTimeOption arginfo_class_IntlCalendar_getRepeatedWallTimeOption
93
94 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getTime, 0, 0, MAY_BE_DOUBLE|MAY_BE_FALSE)
95 ZEND_END_ARG_INFO()
96
97 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlCalendar_getTimeZone, 0, 0, IntlTimeZone, MAY_BE_FALSE)
98 ZEND_END_ARG_INFO()
99
100 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_getType, 0, 0, IS_STRING, 0)
101 ZEND_END_ARG_INFO()
102
103 #define arginfo_class_IntlCalendar_getWeekendTransition arginfo_class_IntlCalendar_getDayOfWeekType
104
105 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_inDaylightTime, 0, 0, _IS_BOOL, 0)
106 ZEND_END_ARG_INFO()
107
108 #define arginfo_class_IntlCalendar_isEquivalentTo arginfo_class_IntlCalendar_equals
109
110 #define arginfo_class_IntlCalendar_isLenient arginfo_class_IntlCalendar_inDaylightTime
111
112 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_isWeekend, 0, 0, _IS_BOOL, 0)
113 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, timestamp, IS_DOUBLE, 1, "null")
114 ZEND_END_ARG_INFO()
115
116 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_roll, 0, 2, _IS_BOOL, 0)
117 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
118 ZEND_ARG_INFO(0, value)
119 ZEND_END_ARG_INFO()
120
121 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_isSet, 0, 1, _IS_BOOL, 0)
122 ZEND_ARG_TYPE_INFO(0, field, IS_LONG, 0)
123 ZEND_END_ARG_INFO()
124
125 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_set, 0, 0, 2)
126 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
127 ZEND_ARG_TYPE_INFO(0, month, IS_LONG, 0)
128 ZEND_ARG_TYPE_INFO(0, dayOfMonth, IS_LONG, 0)
129 ZEND_ARG_TYPE_INFO(0, hour, IS_LONG, 0)
130 ZEND_ARG_TYPE_INFO(0, minute, IS_LONG, 0)
131 ZEND_ARG_TYPE_INFO(0, second, IS_LONG, 0)
132 ZEND_END_ARG_INFO()
133
134 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_setFirstDayOfWeek, 0, 0, 1)
135 ZEND_ARG_TYPE_INFO(0, dayOfWeek, IS_LONG, 0)
136 ZEND_END_ARG_INFO()
137
138 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_setLenient, 0, 0, 1)
139 ZEND_ARG_TYPE_INFO(0, lenient, _IS_BOOL, 0)
140 ZEND_END_ARG_INFO()
141
142 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlCalendar_setRepeatedWallTimeOption, 0, 0, 1)
143 ZEND_ARG_TYPE_INFO(0, option, IS_LONG, 0)
144 ZEND_END_ARG_INFO()
145
146 #define arginfo_class_IntlCalendar_setSkippedWallTimeOption arginfo_class_IntlCalendar_setRepeatedWallTimeOption
147
148 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_setTime, 0, 1, _IS_BOOL, 0)
149 ZEND_ARG_TYPE_INFO(0, timestamp, IS_DOUBLE, 0)
150 ZEND_END_ARG_INFO()
151
152 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlCalendar_setTimeZone, 0, 1, _IS_BOOL, 0)
153 ZEND_ARG_INFO(0, timezone)
154 ZEND_END_ARG_INFO()
155
156 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlCalendar_toDateTime, 0, 0, DateTime, MAY_BE_FALSE)
157 ZEND_END_ARG_INFO()
158
159 ZEND_BEGIN_ARG_INFO_EX(arginfo_class_IntlGregorianCalendar___construct, 0, 0, 0)
160 ZEND_ARG_INFO(0, timezoneOrYear)
161 ZEND_ARG_INFO(0, localeOrMonth)
162 ZEND_ARG_INFO(0, day)
163 ZEND_ARG_INFO(0, hour)
164 ZEND_ARG_INFO(0, minute)
165 ZEND_ARG_INFO(0, second)
166 ZEND_END_ARG_INFO()
167
168 #define arginfo_class_IntlGregorianCalendar_setGregorianChange arginfo_class_IntlCalendar_setTime
169
170 #define arginfo_class_IntlGregorianCalendar_getGregorianChange arginfo_class_IntlCalendar_getNow
171
172 ZEND_BEGIN_ARG_WITH_TENTATIVE_RETURN_TYPE_INFO_EX(arginfo_class_IntlGregorianCalendar_isLeapYear, 0, 1, _IS_BOOL, 0)
173 ZEND_ARG_TYPE_INFO(0, year, IS_LONG, 0)
174 ZEND_END_ARG_INFO()
175
176
177 ZEND_METHOD(IntlCalendar, __construct);
178 ZEND_FUNCTION(intlcal_create_instance);
179 ZEND_FUNCTION(intlcal_equals);
180 ZEND_FUNCTION(intlcal_field_difference);
181 ZEND_FUNCTION(intlcal_add);
182 ZEND_FUNCTION(intlcal_after);
183 ZEND_FUNCTION(intlcal_before);
184 ZEND_FUNCTION(intlcal_clear);
185 ZEND_FUNCTION(intlcal_from_date_time);
186 ZEND_FUNCTION(intlcal_get);
187 ZEND_FUNCTION(intlcal_get_actual_maximum);
188 ZEND_FUNCTION(intlcal_get_actual_minimum);
189 ZEND_FUNCTION(intlcal_get_available_locales);
190 ZEND_FUNCTION(intlcal_get_day_of_week_type);
191 ZEND_FUNCTION(intlcal_get_error_code);
192 ZEND_FUNCTION(intlcal_get_error_message);
193 ZEND_FUNCTION(intlcal_get_first_day_of_week);
194 ZEND_FUNCTION(intlcal_get_greatest_minimum);
195 ZEND_FUNCTION(intlcal_get_keyword_values_for_locale);
196 ZEND_FUNCTION(intlcal_get_least_maximum);
197 ZEND_FUNCTION(intlcal_get_locale);
198 ZEND_FUNCTION(intlcal_get_maximum);
199 ZEND_FUNCTION(intlcal_get_minimal_days_in_first_week);
200 ZEND_FUNCTION(intlcal_set_minimal_days_in_first_week);
201 ZEND_FUNCTION(intlcal_get_minimum);
202 ZEND_FUNCTION(intlcal_get_now);
203 ZEND_FUNCTION(intlcal_get_repeated_wall_time_option);
204 ZEND_FUNCTION(intlcal_get_skipped_wall_time_option);
205 ZEND_FUNCTION(intlcal_get_time);
206 ZEND_FUNCTION(intlcal_get_time_zone);
207 ZEND_FUNCTION(intlcal_get_type);
208 ZEND_FUNCTION(intlcal_get_weekend_transition);
209 ZEND_FUNCTION(intlcal_in_daylight_time);
210 ZEND_FUNCTION(intlcal_is_equivalent_to);
211 ZEND_FUNCTION(intlcal_is_lenient);
212 ZEND_FUNCTION(intlcal_is_weekend);
213 ZEND_FUNCTION(intlcal_roll);
214 ZEND_FUNCTION(intlcal_is_set);
215 ZEND_FUNCTION(intlcal_set);
216 ZEND_FUNCTION(intlcal_set_first_day_of_week);
217 ZEND_FUNCTION(intlcal_set_lenient);
218 ZEND_FUNCTION(intlcal_set_repeated_wall_time_option);
219 ZEND_FUNCTION(intlcal_set_skipped_wall_time_option);
220 ZEND_FUNCTION(intlcal_set_time);
221 ZEND_FUNCTION(intlcal_set_time_zone);
222 ZEND_FUNCTION(intlcal_to_date_time);
223 ZEND_METHOD(IntlGregorianCalendar, __construct);
224 ZEND_FUNCTION(intlgregcal_set_gregorian_change);
225 ZEND_FUNCTION(intlgregcal_get_gregorian_change);
226 ZEND_FUNCTION(intlgregcal_is_leap_year);
227
228
229 static const zend_function_entry class_IntlCalendar_methods[] = {
230 ZEND_ME(IntlCalendar, __construct, arginfo_class_IntlCalendar___construct, ZEND_ACC_PRIVATE)
231 ZEND_ME_MAPPING(createInstance, intlcal_create_instance, arginfo_class_IntlCalendar_createInstance, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
232 ZEND_ME_MAPPING(equals, intlcal_equals, arginfo_class_IntlCalendar_equals, ZEND_ACC_PUBLIC)
233 ZEND_ME_MAPPING(fieldDifference, intlcal_field_difference, arginfo_class_IntlCalendar_fieldDifference, ZEND_ACC_PUBLIC)
234 ZEND_ME_MAPPING(add, intlcal_add, arginfo_class_IntlCalendar_add, ZEND_ACC_PUBLIC)
235 ZEND_ME_MAPPING(after, intlcal_after, arginfo_class_IntlCalendar_after, ZEND_ACC_PUBLIC)
236 ZEND_ME_MAPPING(before, intlcal_before, arginfo_class_IntlCalendar_before, ZEND_ACC_PUBLIC)
237 ZEND_ME_MAPPING(clear, intlcal_clear, arginfo_class_IntlCalendar_clear, ZEND_ACC_PUBLIC)
238 ZEND_ME_MAPPING(fromDateTime, intlcal_from_date_time, arginfo_class_IntlCalendar_fromDateTime, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
239 ZEND_ME_MAPPING(get, intlcal_get, arginfo_class_IntlCalendar_get, ZEND_ACC_PUBLIC)
240 ZEND_ME_MAPPING(getActualMaximum, intlcal_get_actual_maximum, arginfo_class_IntlCalendar_getActualMaximum, ZEND_ACC_PUBLIC)
241 ZEND_ME_MAPPING(getActualMinimum, intlcal_get_actual_minimum, arginfo_class_IntlCalendar_getActualMinimum, ZEND_ACC_PUBLIC)
242 ZEND_ME_MAPPING(getAvailableLocales, intlcal_get_available_locales, arginfo_class_IntlCalendar_getAvailableLocales, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
243 ZEND_ME_MAPPING(getDayOfWeekType, intlcal_get_day_of_week_type, arginfo_class_IntlCalendar_getDayOfWeekType, ZEND_ACC_PUBLIC)
244 ZEND_ME_MAPPING(getErrorCode, intlcal_get_error_code, arginfo_class_IntlCalendar_getErrorCode, ZEND_ACC_PUBLIC)
245 ZEND_ME_MAPPING(getErrorMessage, intlcal_get_error_message, arginfo_class_IntlCalendar_getErrorMessage, ZEND_ACC_PUBLIC)
246 ZEND_ME_MAPPING(getFirstDayOfWeek, intlcal_get_first_day_of_week, arginfo_class_IntlCalendar_getFirstDayOfWeek, ZEND_ACC_PUBLIC)
247 ZEND_ME_MAPPING(getGreatestMinimum, intlcal_get_greatest_minimum, arginfo_class_IntlCalendar_getGreatestMinimum, ZEND_ACC_PUBLIC)
248 ZEND_ME_MAPPING(getKeywordValuesForLocale, intlcal_get_keyword_values_for_locale, arginfo_class_IntlCalendar_getKeywordValuesForLocale, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
249 ZEND_ME_MAPPING(getLeastMaximum, intlcal_get_least_maximum, arginfo_class_IntlCalendar_getLeastMaximum, ZEND_ACC_PUBLIC)
250 ZEND_ME_MAPPING(getLocale, intlcal_get_locale, arginfo_class_IntlCalendar_getLocale, ZEND_ACC_PUBLIC)
251 ZEND_ME_MAPPING(getMaximum, intlcal_get_maximum, arginfo_class_IntlCalendar_getMaximum, ZEND_ACC_PUBLIC)
252 ZEND_ME_MAPPING(getMinimalDaysInFirstWeek, intlcal_get_minimal_days_in_first_week, arginfo_class_IntlCalendar_getMinimalDaysInFirstWeek, ZEND_ACC_PUBLIC)
253 ZEND_ME_MAPPING(setMinimalDaysInFirstWeek, intlcal_set_minimal_days_in_first_week, arginfo_class_IntlCalendar_setMinimalDaysInFirstWeek, ZEND_ACC_PUBLIC)
254 ZEND_ME_MAPPING(getMinimum, intlcal_get_minimum, arginfo_class_IntlCalendar_getMinimum, ZEND_ACC_PUBLIC)
255 ZEND_ME_MAPPING(getNow, intlcal_get_now, arginfo_class_IntlCalendar_getNow, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
256 ZEND_ME_MAPPING(getRepeatedWallTimeOption, intlcal_get_repeated_wall_time_option, arginfo_class_IntlCalendar_getRepeatedWallTimeOption, ZEND_ACC_PUBLIC)
257 ZEND_ME_MAPPING(getSkippedWallTimeOption, intlcal_get_skipped_wall_time_option, arginfo_class_IntlCalendar_getSkippedWallTimeOption, ZEND_ACC_PUBLIC)
258 ZEND_ME_MAPPING(getTime, intlcal_get_time, arginfo_class_IntlCalendar_getTime, ZEND_ACC_PUBLIC)
259 ZEND_ME_MAPPING(getTimeZone, intlcal_get_time_zone, arginfo_class_IntlCalendar_getTimeZone, ZEND_ACC_PUBLIC)
260 ZEND_ME_MAPPING(getType, intlcal_get_type, arginfo_class_IntlCalendar_getType, ZEND_ACC_PUBLIC)
261 ZEND_ME_MAPPING(getWeekendTransition, intlcal_get_weekend_transition, arginfo_class_IntlCalendar_getWeekendTransition, ZEND_ACC_PUBLIC)
262 ZEND_ME_MAPPING(inDaylightTime, intlcal_in_daylight_time, arginfo_class_IntlCalendar_inDaylightTime, ZEND_ACC_PUBLIC)
263 ZEND_ME_MAPPING(isEquivalentTo, intlcal_is_equivalent_to, arginfo_class_IntlCalendar_isEquivalentTo, ZEND_ACC_PUBLIC)
264 ZEND_ME_MAPPING(isLenient, intlcal_is_lenient, arginfo_class_IntlCalendar_isLenient, ZEND_ACC_PUBLIC)
265 ZEND_ME_MAPPING(isWeekend, intlcal_is_weekend, arginfo_class_IntlCalendar_isWeekend, ZEND_ACC_PUBLIC)
266 ZEND_ME_MAPPING(roll, intlcal_roll, arginfo_class_IntlCalendar_roll, ZEND_ACC_PUBLIC)
267 ZEND_ME_MAPPING(isSet, intlcal_is_set, arginfo_class_IntlCalendar_isSet, ZEND_ACC_PUBLIC)
268 ZEND_ME_MAPPING(set, intlcal_set, arginfo_class_IntlCalendar_set, ZEND_ACC_PUBLIC)
269 ZEND_ME_MAPPING(setFirstDayOfWeek, intlcal_set_first_day_of_week, arginfo_class_IntlCalendar_setFirstDayOfWeek, ZEND_ACC_PUBLIC)
270 ZEND_ME_MAPPING(setLenient, intlcal_set_lenient, arginfo_class_IntlCalendar_setLenient, ZEND_ACC_PUBLIC)
271 ZEND_ME_MAPPING(setRepeatedWallTimeOption, intlcal_set_repeated_wall_time_option, arginfo_class_IntlCalendar_setRepeatedWallTimeOption, ZEND_ACC_PUBLIC)
272 ZEND_ME_MAPPING(setSkippedWallTimeOption, intlcal_set_skipped_wall_time_option, arginfo_class_IntlCalendar_setSkippedWallTimeOption, ZEND_ACC_PUBLIC)
273 ZEND_ME_MAPPING(setTime, intlcal_set_time, arginfo_class_IntlCalendar_setTime, ZEND_ACC_PUBLIC)
274 ZEND_ME_MAPPING(setTimeZone, intlcal_set_time_zone, arginfo_class_IntlCalendar_setTimeZone, ZEND_ACC_PUBLIC)
275 ZEND_ME_MAPPING(toDateTime, intlcal_to_date_time, arginfo_class_IntlCalendar_toDateTime, ZEND_ACC_PUBLIC)
276 ZEND_FE_END
277 };
278
279
280 static const zend_function_entry class_IntlGregorianCalendar_methods[] = {
281 ZEND_ME(IntlGregorianCalendar, __construct, arginfo_class_IntlGregorianCalendar___construct, ZEND_ACC_PUBLIC)
282 ZEND_ME_MAPPING(setGregorianChange, intlgregcal_set_gregorian_change, arginfo_class_IntlGregorianCalendar_setGregorianChange, ZEND_ACC_PUBLIC)
283 ZEND_ME_MAPPING(getGregorianChange, intlgregcal_get_gregorian_change, arginfo_class_IntlGregorianCalendar_getGregorianChange, ZEND_ACC_PUBLIC)
284 ZEND_ME_MAPPING(isLeapYear, intlgregcal_is_leap_year, arginfo_class_IntlGregorianCalendar_isLeapYear, ZEND_ACC_PUBLIC)
285 ZEND_FE_END
286 };
287
register_class_IntlCalendar(void)288 static zend_class_entry *register_class_IntlCalendar(void)
289 {
290 zend_class_entry ce, *class_entry;
291
292 INIT_CLASS_ENTRY(ce, "IntlCalendar", class_IntlCalendar_methods);
293 class_entry = zend_register_internal_class_ex(&ce, NULL);
294
295 return class_entry;
296 }
297
register_class_IntlGregorianCalendar(zend_class_entry * class_entry_IntlCalendar)298 static zend_class_entry *register_class_IntlGregorianCalendar(zend_class_entry *class_entry_IntlCalendar)
299 {
300 zend_class_entry ce, *class_entry;
301
302 INIT_CLASS_ENTRY(ce, "IntlGregorianCalendar", class_IntlGregorianCalendar_methods);
303 class_entry = zend_register_internal_class_ex(&ce, class_entry_IntlCalendar);
304
305 return class_entry;
306 }
307