Home
last modified time | relevance | path

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

12345

/PHP-5.6/ext/intl/tests/
H A Dcalendar_before_after_error.phpt2 IntlCalendar::before()/after(): bad arguments
32 error: 2, IntlCalendar::after() expects exactly 1 parameter, 0 given
33 error: 2, IntlCalendar::after(): intlcal_before/after: bad arguments
35 error: 2, IntlCalendar::before() expects exactly 1 parameter, 0 given
36 error: 2, IntlCalendar::before(): intlcal_before/after: bad arguments
38 error: 4096, Argument 1 passed to IntlCalendar::after() must be an instance of IntlCalendar, intege…
39 error: 2, IntlCalendar::after() expects parameter 1 to be IntlCalendar, integer given
40 error: 2, IntlCalendar::after(): intlcal_before/after: bad arguments
42 error: 4096, Argument 1 passed to IntlCalendar::before() must be an instance of IntlCalendar, integ…
43 error: 2, IntlCalendar::before() expects parameter 1 to be IntlCalendar, integer given
[all …]
H A Dcalendar_get_setSkippedWallTimeOption_basic.phpt2 IntlCalendar::get/setSkippedWallTimeOption(): basic test
20 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
21 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
24 $intlcal->get(IntlCalendar::FIELD_HOUR_OF_DAY),
25 $intlcal->get(IntlCalendar::FIELD_MINUTE)
31 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
34 $intlcal->get(IntlCalendar::FIELD_HOUR_OF_DAY),
35 $intlcal->get(IntlCalendar::FIELD_MINUTE)
41 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
44 $intlcal->get(IntlCalendar::FIELD_HOUR_OF_DAY),
[all …]
H A Dcalendar_isEquivalentTo_error.phpt2 IntlCalendar::isEquivalentTo(): bad arguments
29 error: 4096, Argument 1 passed to IntlCalendar::isEquivalentTo() must be an instance of IntlCalenda…
30 error: 2, IntlCalendar::isEquivalentTo() expects parameter 1 to be IntlCalendar, integer given
31 error: 2, IntlCalendar::isEquivalentTo(): intlcal_is_equivalent_to: bad arguments
33 error: 2, IntlCalendar::isEquivalentTo() expects exactly 1 parameter, 2 given
34 error: 2, IntlCalendar::isEquivalentTo(): intlcal_is_equivalent_to: bad arguments
36 error: 4096, Argument 1 passed to IntlCalendar::isEquivalentTo() must be an instance of IntlCalenda…
37 error: 2, IntlCalendar::isEquivalentTo() expects parameter 1 to be IntlCalendar, integer given
38 error: 2, IntlCalendar::isEquivalentTo(): intlcal_is_equivalent_to: bad arguments
44 error: 2, intlcal_is_equivalent_to() expects parameter 2 to be IntlCalendar, integer given
[all …]
H A Dcalendar_equals_error.phpt2 IntlCalendar::equals(): bad arguments
28 error: 2, IntlCalendar::equals() expects exactly 1 parameter, 0 given
29 error: 2, IntlCalendar::equals(): intlcal_equals: bad arguments
31 error: 4096, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, insta…
32 error: 2, IntlCalendar::equals() expects parameter 1 to be IntlCalendar, object given
33 error: 2, IntlCalendar::equals(): intlcal_equals: bad arguments
35 error: 4096, Argument 1 passed to IntlCalendar::equals() must be an instance of IntlCalendar, integ…
36 error: 2, IntlCalendar::equals() expects exactly 1 parameter, 2 given
37 error: 2, IntlCalendar::equals(): intlcal_equals: bad arguments
40 error: 2, intlcal_equals() expects parameter 2 to be IntlCalendar, array given
[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_get_getActualMaximum_Minumum_error.phpt2 IntlCalendar::get/getActualMaximum/getActualMinimum(): bad arguments
32 Warning: IntlCalendar::get() expects exactly 1 parameter, 0 given in %s on line %d
34 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d
37 Warning: IntlCalendar::getActualMaximum() expects exactly 1 parameter, 0 given in %s on line %d
42 Warning: IntlCalendar::getActualMinimum() expects exactly 1 parameter, 0 given in %s on line %d
47 Warning: IntlCalendar::get(): intlcal_get: invalid field in %s on line %d
56 Warning: IntlCalendar::get() expects parameter 1 to be long, string given in %s on line %d
58 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d
71 Warning: IntlCalendar::get() expects exactly 1 parameter, 2 given in %s on line %d
73 Warning: IntlCalendar::get(): intlcal_get: bad arguments in %s on line %d
[all …]
H A Dcalendar_fromDateTime_error.phpt2 IntlCalendar::fromDateTime(): errors
13 var_dump(IntlCalendar::fromDateTime());
14 var_dump(IntlCalendar::fromDateTime(0,1,2));
17 IntlCalendar::fromDateTime("foobar");
25 var_dump(IntlCalendar::fromDateTime(new A));
28 var_dump(IntlCalendar::fromDateTime($date));
31 var_dump(IntlCalendar::fromDateTime($date));
37 Warning: IntlCalendar::fromDateTime() expects at least 1 parameter, 0 given in %s on line %d
39 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: bad arguments in %s on line %d
42 Warning: IntlCalendar::fromDateTime() expects at most 2 parameters, 3 given in %s on line %d
[all …]
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_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_get_Least_Greatest_Minimum_Maximum_error.phpt2 IntlCalendar::get/Least/Greatest/Minimum/Maximum(): bad arguments
42 Warning: IntlCalendar::getLeastMaximum() expects exactly 1 parameter, 0 given in %s on line %d
47 Warning: IntlCalendar::getMaximum() expects exactly 1 parameter, 0 given in %s on line %d
49 Warning: IntlCalendar::getMaximum(): intlcal_get_maximum: bad arguments in %s on line %d
57 Warning: IntlCalendar::getMinimum() expects exactly 1 parameter, 0 given in %s on line %d
59 Warning: IntlCalendar::getMinimum(): intlcal_get_minimum: bad arguments in %s on line %d
65 Warning: IntlCalendar::getMaximum(): intlcal_get_maximum: invalid field in %s on line %d
71 Warning: IntlCalendar::getMinimum(): intlcal_get_minimum: invalid field in %s on line %d
86 error: 2, intlcal_get_least_maximum() expects parameter 1 to be IntlCalendar, integer given
90 error: 2, intlcal_get_maximum() expects parameter 1 to be IntlCalendar, integer given
[all …]
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_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_setSkipped_RepeatedWallTimeOption_error.phpt2 IntlCalendar::setSkipped/RepeatedWallTimeOption(): bad arguments
36 Warning: IntlCalendar::setSkippedWallTimeOption() expects exactly 1 parameter, 0 given in %s on lin…
38 Warning: IntlCalendar::setSkippedWallTimeOption(): intlcal_set_skipped_wall_time_option: bad argume…
41 Warning: IntlCalendar::setRepeatedWallTimeOption() expects exactly 1 parameter, 0 given in %s on li…
43 Warning: IntlCalendar::setRepeatedWallTimeOption(): intlcal_set_repeated_wall_time_option: bad argu…
46 Warning: IntlCalendar::setSkippedWallTimeOption() expects exactly 1 parameter, 2 given in %s on lin…
48 Warning: IntlCalendar::setSkippedWallTimeOption(): intlcal_set_skipped_wall_time_option: bad argume…
51 Warning: IntlCalendar::setRepeatedWallTimeOption() expects exactly 1 parameter, 2 given in %s on li…
56 Warning: IntlCalendar::setSkippedWallTimeOption() expects parameter 1 to be long, array given in %s…
58 Warning: IntlCalendar::setSkippedWallTimeOption(): intlcal_set_skipped_wall_time_option: bad argume…
[all …]
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_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_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
19 var_dump($intlcal->setRepeatedWallTimeOption(IntlCalendar::WALLTIME_LAST));
21 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
22 $intlcal->set(IntlCalendar::FIELD_MINUTE, 30);
28 var_dump(intlcal_set_repeated_wall_time_option($intlcal, IntlCalendar::WALLTIME_FIRST));
30 $intlcal->set(IntlCalendar::FIELD_HOUR_OF_DAY, 2);
31 $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_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_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_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_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_setTimeZone_error.phpt2 IntlCalendar::setTimeZone(): bad arguments
29 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 2 given
30 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments
32 error: 2, IntlCalendar::setTimeZone() expects exactly 1 parameter, 0 given
33 error: 2, IntlCalendar::setTimeZone(): intlcal_set_time_zone: bad arguments
38 error: 4096, Argument 1 passed to intlcal_set_time_zone() must be an instance of IntlCalendar, inte…
39 error: 2, intlcal_set_time_zone() expects parameter 1 to be IntlCalendar, integer given

Completed in 29 milliseconds

12345