Home
last modified time | relevance | path

Searched refs:IntlCalendar (Results 1 – 25 of 120) sorted by relevance

12345

/PHP-8.0/ext/intl/tests/
H A Dcalendar_get_setSkippedWallTimeOption_basic.phpt2 IntlCalendar::get/setSkippedWallTimeOption(): basic test
17 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
18 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
21 $intlcal->get(IntlCalendar::FIELD_HOUR_OF_DAY),
22 $intlcal->get(IntlCalendar::FIELD_MINUTE)
27 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
28 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
32 $intlcal->get(IntlCalendar::FIELD_MINUTE)
37 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
38 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
[all …]
H A Dcalendar_clear_basic.phpt2 IntlCalendar::clear() basic test
12 $intlcal = IntlCalendar::createInstance('UTC');
15 $intlcal->get(IntlCalendar::FIELD_YEAR),
16 $intlcal->get(IntlCalendar::FIELD_MONTH),
17 $intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH),
18 $intlcal->get(IntlCalendar::FIELD_HOUR),
19 $intlcal->get(IntlCalendar::FIELD_MINUTE),
20 $intlcal->get(IntlCalendar::FIELD_SECOND),
21 $intlcal->get(IntlCalendar::FIELD_MILLISECOND)
24 $intlcal2 = IntlCalendar::createInstance('Europe/Amsterdam');
H A Dcalendar_getXMaximum_basic.phpt2 IntlCalendar::getMaximum(), ::getActualMaximum(), ::getLeastMaximum() basic test
14 $intlcal = IntlCalendar::createInstance('UTC');
17 $intlcal->getLeastMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
18 intlcal_get_least_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
19 $intlcal->getActualMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
20 intlcal_get_actual_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
21 $intlcal->getMaximum(IntlCalendar::FIELD_DAY_OF_MONTH),
22 intlcal_get_maximum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH)
H A Dcalendar_getXMinimum_basic.phpt2 IntlCalendar::getMinimum(), ::getActualMinimum(), ::getGreatestMinimum() basic test
14 $intlcal = IntlCalendar::createInstance('UTC');
17 $intlcal->getGreatestMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
18 intlcal_get_greatest_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
19 $intlcal->getActualMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
20 intlcal_get_actual_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
21 $intlcal->getMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
22 intlcal_get_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH)
H A Dcalendar_setSkipped_RepeatedWallTimeOption_error.phpt2 IntlCalendar::setSkipped/RepeatedWallTimeOption(): bad arguments
33 IntlCalendar::setSkippedWallTimeOption(): Argument #1 ($option) must be one of IntlCalendar::WALLTI…
34 IntlCalendar::setRepeatedWallTimeOption(): Argument #1 ($option) must be either IntlCalendar::WALLT…
35 intlcal_set_repeated_wall_time_option(): Argument #1 ($calendar) must be of type IntlCalendar, int …
H A Dcalendar_isSet_basic.phpt2 IntlCalendar::isSet() basic test
12 $intlcal = IntlCalendar::createInstance('UTC');
13 var_dump($intlcal->isSet(IntlCalendar::FIELD_MINUTE));
14 $intlcal->clear(IntlCalendar::FIELD_MINUTE);
15 var_dump($intlcal->isSet(IntlCalendar::FIELD_MINUTE));
16 $intlcal->set(IntlCalendar::FIELD_MINUTE, 0);
17 var_dump(intlcal_is_set($intlcal, IntlCalendar::FIELD_MINUTE));
H A Dcalendar_getDayOfWeekType_basic.phpt2 IntlCalendar::getDayOfWeekType() basic test
16 $intlcal = IntlCalendar::createInstance('UTC');
19 intlcal_get_day_of_week_type($intlcal, IntlCalendar::DOW_SUNDAY),
20 $intlcal->getDayOfWeekType(IntlCalendar::DOW_MONDAY),
21 $intlcal->getDayOfWeekType(IntlCalendar::DOW_TUESDAY),
22 $intlcal->getDayOfWeekType(IntlCalendar::DOW_FRIDAY),
23 $intlcal->getDayOfWeekType(IntlCalendar::DOW_SATURDAY)
H A Dcalendar_getDayOfWeekType_basic2.phpt2 IntlCalendar::getDayOfWeekType() basic test
16 $intlcal = IntlCalendar::createInstance('UTC');
19 intlcal_get_day_of_week_type($intlcal, IntlCalendar::DOW_SUNDAY),
20 $intlcal->getDayOfWeekType(IntlCalendar::DOW_MONDAY),
21 $intlcal->getDayOfWeekType(IntlCalendar::DOW_TUESDAY),
22 $intlcal->getDayOfWeekType(IntlCalendar::DOW_FRIDAY),
23 $intlcal->getDayOfWeekType(IntlCalendar::DOW_SATURDAY)
H A Dcalendar_roll_variation1.phpt2 IntlCalendar::roll() bool argument variation
15 var_dump($intlcal->roll(IntlCalendar::FIELD_DAY_OF_MONTH, true));
16 var_dump($intlcal->get(IntlCalendar::FIELD_MONTH)); //1 (Feb)
17 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH)); //29
19 var_dump(intlcal_roll($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH, false));
20 var_dump($intlcal->get(IntlCalendar::FIELD_MONTH)); //1 (Feb)
21 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH)); //28
H A Dcalendar_roll_basic.phpt2 IntlCalendar::roll() basic test
15 var_dump($intlcal->roll(IntlCalendar::FIELD_DAY_OF_MONTH, 2));
16 var_dump($intlcal->get(IntlCalendar::FIELD_MONTH)); //1 (Feb)
17 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH)); //1
20 var_dump(intlcal_roll($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH, 2));
21 var_dump($intlcal->get(IntlCalendar::FIELD_MONTH)); //1 (Feb)
22 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH)); //1
H A Dcalendar_set_basic.phpt2 IntlCalendar::set() basic test
14 $intlcal = IntlCalendar::createInstance();
15 var_dump($intlcal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 2));
16 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
17 var_dump(intlcal_set($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH, 3));
18 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
H A Dcalendar_get_setRepeatedWallTimeOption_basic.phpt2 IntlCalendar::get/setRepeatedWallTimeOption(): basic test
16 var_dump($intlcal->setRepeatedWallTimeOption(IntlCalendar::WALLTIME_LAST));
18 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
19 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
25 var_dump(intlcal_set_repeated_wall_time_option($intlcal, IntlCalendar::WALLTIME_FIRST));
27 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
28 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
H A Dcalendar_add_basic.phpt2 IntlCalendar::add() basic test
17 $intlcal = IntlCalendar::createInstance('UTC');
19 $intlcal->add(IntlCalendar::FIELD_DAY_OF_MONTH, 1);
20 $intlcal->add(IntlCalendar::FIELD_HOUR, 5);
21 $intlcal->add(IntlCalendar::FIELD_MINUTE, 6);
22 intlcal_add($intlcal, IntlCalendar::FIELD_SECOND, 7);
H A Dcalendar_fromDateTime_error.phpt2 IntlCalendar::fromDateTime(): errors
14 IntlCalendar::fromDateTime("foobar");
22 var_dump(IntlCalendar::fromDateTime(new A));
25 var_dump(IntlCalendar::fromDateTime($date));
28 var_dump(IntlCalendar::fromDateTime($date));
32 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: DateTime object is unconstructed in …
35 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: object has an time zone offset that'…
38 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: time zone id 'WEST' extracted from e…
H A Dcalendar_get_basic.phpt2 IntlCalendar::get() basic test
12 $intlcal = IntlCalendar::createInstance('UTC');
13 $intlcal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 4);
15 var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
16 var_dump(intlcal_get($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH));
H A Dcalendar_setFirstDayOfWeek_basic.phpt2 IntlCalendar::setFirstDayOfWeek() basic test
12 $intlcal = IntlCalendar::createInstance('UTC');
14 IntlCalendar::DOW_TUESDAY,
15 $intlcal->setFirstDayOfWeek(IntlCalendar::DOW_TUESDAY),
17 intlcal_set_first_day_of_week($intlcal, IntlCalendar::DOW_WEDNESDAY),
H A Dcalendar_isEquivalentTo_basic.phpt2 IntlCalendar::isEquivalentTo() basic test
12 $intlcal1 = IntlCalendar::createInstance('Europe/Amsterdam');
13 $intlcal2 = IntlCalendar::createInstance('Europe/Lisbon');
14 $intlcal3 = IntlCalendar::createInstance('Europe/Amsterdam', "nl_NL@calendar=islamic");
15 $intlcal4 = IntlCalendar::createInstance('Europe/Amsterdam');
16 $intlcal4->roll(IntlCalendar::FIELD_MONTH, true);
H A Dcalendar_fieldDifference_basic.phpt2 IntlCalendar::fieldDifference() basic test
14 $intlcal = IntlCalendar::createInstance('UTC');
19 IntlCalendar::FIELD_SECOND),
20 $intlcal->get(IntlCalendar::FIELD_HOUR_OF_DAY));
28 IntlCalendar::FIELD_MINUTE));
H A Dcalendar_getTime_basic.phpt2 IntlCalendar::getTime() basic test
14 $intlcal = IntlCalendar::createInstance('UTC');
16 $intlcal->set(IntlCalendar::FIELD_YEAR, 2012);
17 $intlcal->set(IntlCalendar::FIELD_MONTH, 1 /* Feb */);
18 $intlcal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 29);
H A Dcalendar_clear_variation1.phpt2 IntlCalendar::clear() 1 arg variation
14 $intlcal = IntlCalendar::createInstance('UTC');
17 var_dump($intlcal->isSet(IntlCalendar::FIELD_MONTH));
18 var_dump($intlcal->clear(IntlCalendar::FIELD_MONTH));
19 var_dump($intlcal->isSet(IntlCalendar::FIELD_MONTH));
H A Dcalendar_getWeekendTransition_basic.phpt2 IntlCalendar::getWeekendTransition() basic test
14 $intlcal = IntlCalendar::createInstance();
15 var_dump($intlcal->getWeekendTransition(IntlCalendar::DOW_SUNDAY));
16 var_dump(intlcal_get_weekend_transition($intlcal, IntlCalendar::DOW_SUNDAY));
H A Dcalendar_setTimeZone_basic.phpt2 IntlCalendar::setTimeZone() basic test
12 $intlcal = IntlCalendar::createInstance('Europe/Amsterdam');
15 var_dump($intlcal->get(IntlCalendar::FIELD_ZONE_OFFSET));
20 var_dump($intlcal->get(IntlCalendar::FIELD_ZONE_OFFSET));
26 var_dump($intlcal->get(IntlCalendar::FIELD_ZONE_OFFSET));
/PHP-8.0/ext/intl/
H A Dphp_intl.stub.php20 function intlcal_get(IntlCalendar $calendar, int $field): int|false {}
22 function intlcal_get_time(IntlCalendar $calendar): float|false {}
31 function intlcal_after(IntlCalendar $calendar, IntlCalendar $other): bool {}
33 function intlcal_before(IntlCalendar $calendar, IntlCalendar $other): bool {}
68 function intlcal_get_type(IntlCalendar $calendar): string {}
72 function intlcal_in_daylight_time(IntlCalendar $calendar): bool {}
74 function intlcal_is_lenient(IntlCalendar $calendar): bool {}
76 function intlcal_is_set(IntlCalendar $calendar, int $field): bool {}
78 function intlcal_is_equivalent_to(IntlCalendar $calendar, IntlCalendar $other): bool {}
88 function intlcal_equals(IntlCalendar $calendar, IntlCalendar $other): bool {}
[all …]
/PHP-8.0/ext/intl/dateformat/
H A Ddateformat.stub.php9 * @param IntlCalendar|int|null $calendar
18 …eate(?string $locale, int $dateType, int $timeType, $timezone = null, IntlCalendar|int|null $calen…
42 public function setCalendar(IntlCalendar|int|null $calendar) {}
51 * @return IntlCalendar|false|null
100 * @param IntlCalendar|DateTimeInterface|array|string|int|float $datetime
107 * @param IntlCalendar|DateTimeInterface $datetime
/PHP-8.0/ext/intl/calendar/
H A Dcalendar.stub.php5 class IntlCalendar class
11 * @return IntlCalendar|null
20 public function equals(IntlCalendar $other) {}
38 public function after(IntlCalendar $other) {}
44 public function before(IntlCalendar $other) {}
53 * @return IntlCalendar|null
206 public function isEquivalentTo(IntlCalendar $other) {}
283 class IntlGregorianCalendar extends IntlCalendar

Completed in 24 milliseconds

12345