Lines Matching refs:gcal
52 static bool set_gregorian_calendar_time_zone(GregorianCalendar *gcal, UErrorCode status) in set_gregorian_calendar_time_zone() argument
76 gcal->adoptTimeZone(tz); in set_gregorian_calendar_time_zone()
129 GregorianCalendar *gcal = NULL; in _php_intlgregcal_constructor_body() local
154 gcal = new GregorianCalendar(tz, Locale::createFromName(locale), in _php_intlgregcal_constructor_body()
160 if (gcal) { in _php_intlgregcal_constructor_body()
161 delete gcal; in _php_intlgregcal_constructor_body()
177 gcal = new GregorianCalendar((int32_t)largs[0], (int32_t)largs[1], in _php_intlgregcal_constructor_body()
180 gcal = new GregorianCalendar((int32_t)largs[0], (int32_t)largs[1], in _php_intlgregcal_constructor_body()
183 gcal = new GregorianCalendar((int32_t)largs[0], (int32_t)largs[1], in _php_intlgregcal_constructor_body()
190 if (!set_gregorian_calendar_time_zone(gcal, status)) { in _php_intlgregcal_constructor_body()
191 delete gcal; in _php_intlgregcal_constructor_body()
200 co->ucal = gcal; in _php_intlgregcal_constructor_body()
229 GregorianCalendar *gcal; in PHP_METHOD() local
243 gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, status); in PHP_METHOD()
244 if (!set_gregorian_calendar_time_zone(gcal, status)) { in PHP_METHOD()
245 delete gcal; in PHP_METHOD()
251 co->ucal = gcal; in PHP_METHOD()
264 GregorianCalendar *gcal; in PHP_METHOD() local
281 …gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int3… in PHP_METHOD()
284 …gcal = new GregorianCalendar((int32_t) year, (int32_t) month, (int32_t) day, (int32_t) hour, (int3… in PHP_METHOD()
286 if (!set_gregorian_calendar_time_zone(gcal, status)) { in PHP_METHOD()
287 delete gcal; in PHP_METHOD()
293 co->ucal = gcal; in PHP_METHOD()