Home
last modified time | relevance | path

Searched refs:df (Results 1 – 25 of 44) sorted by relevance

12

/php-src/ext/date/tests/
H A Dbug53437_var4.phpt9 $df = $dt->diff(new DateTime('2009-10-13'));
11 var_dump($df,
12 $df->y,
13 $df->m,
14 $df->d,
15 $df->h,
16 $df->i,
17 $df->s,
18 $df->f,
19 $df->invert,
[all …]
/php-src/ext/intl/tests/
H A Ddateformat_get_set_timezone.phpt15 function d(IntlDateFormatter $df) {
17 echo $df->format($ts), "\n";
19 $df->getTimeZoneID(),
20 $df->getTimeZone()->getID());
25 d($df);
27 $df->setTimeZone(NULL);
28 d($df);
30 $df->setTimeZone('Europe/Madrid');
31 d($df);
34 d($df);
[all …]
H A Ddateformat_get_set_timezone_variant3.phpt16 function d(IntlDateFormatter $df) {
18 echo $df->format($ts), "\n";
20 $df->getTimeZoneID(),
21 $df->getTimeZone()->getID());
26 d($df);
28 $df->setTimeZone(NULL);
29 d($df);
31 $df->setTimeZone('Europe/Madrid');
32 d($df);
35 d($df);
[all …]
H A Ddateformat_get_set_timezone_variant2.phpt15 function d(IntlDateFormatter $df) {
17 echo $df->format($ts), "\n";
19 $df->getTimeZoneID(),
20 $df->getTimeZone()->getID());
25 d($df);
27 $df->setTimeZone(NULL);
28 d($df);
30 $df->setTimeZone('Europe/Madrid');
31 d($df);
34 d($df);
[all …]
H A Ddateformat_get_set_timezone_variant5.phpt15 function d(IntlDateFormatter $df) {
17 echo $df->format($ts), "\n";
19 $df->getTimeZoneID(),
20 $df->getTimeZone()->getID());
25 d($df);
27 $df->setTimeZone(NULL);
28 d($df);
30 $df->setTimeZone('Europe/Madrid');
31 d($df);
34 d($df);
[all …]
H A Ddateformat_get_set_timezone_variant4.phpt16 function d(IntlDateFormatter $df) {
18 echo $df->format($ts), "\n";
20 $df->getTimeZoneID(),
21 $df->getTimeZone()->getID());
26 d($df);
28 $df->setTimeZone(NULL);
29 d($df);
31 $df->setTimeZone('Europe/Madrid');
32 d($df);
35 d($df);
[all …]
H A Ddateformat_get_set_calendar.phpt15 function d(IntlDateFormatter $df) {
17 echo $df->format($ts), "\n";
18 var_dump($df->getCalendar(),
19 $df->getCalendarObject()->getType(),
20 $df->getCalendarObject()->getTimeZone()->getId());
24 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
25 d($df);
29 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
30 d($df);
34 $df->setCalendar($cal);
[all …]
H A Ddateformat_get_set_calendar_variant2.phpt15 function d(IntlDateFormatter $df) {
17 echo $df->format($ts), "\n";
18 var_dump($df->getCalendar(),
19 $df->getCalendarObject()->getType(),
20 $df->getCalendarObject()->getTimeZone()->getId());
24 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
25 d($df);
29 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
30 d($df);
34 $df->setCalendar($cal);
[all …]
H A Ddateformat_get_set_calendar_variant3.phpt16 function d(IntlDateFormatter $df) {
18 echo $df->format($ts), "\n";
19 var_dump($df->getCalendar(),
20 $df->getCalendarObject()->getType(),
21 $df->getCalendarObject()->getTimeZone()->getId());
25 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
26 d($df);
30 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
31 d($df);
35 $df->setCalendar($cal);
[all …]
H A Ddateformat_get_set_calendar_variant_icu70.phpt17 function d(IntlDateFormatter $df) {
19 echo $df->format($ts), "\n";
20 var_dump($df->getCalendar(),
21 $df->getCalendarObject()->getType(),
22 $df->getCalendarObject()->getTimeZone()->getId());
26 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
27 d($df);
31 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
32 d($df);
36 $df->setCalendar($cal);
[all …]
H A Ddateformat_timezone_arg_variations.phpt15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
16 echo $df->format($ts), "\n";
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
19 echo $df->format($ts), "\n";
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
[all …]
H A Ddateformat_timezone_arg_variations2.phpt15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
16 echo $df->format($ts), "\n";
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
19 echo $df->format($ts), "\n";
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
[all …]
H A Ddateformat_timezone_arg_variations4.phpt15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
16 echo $df->format($ts), "\n";
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
19 echo $df->format($ts), "\n";
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
22 echo $df->format($ts), "\n";
25 echo $df->format($ts), "\n";
29 echo $df->format($ts), "\n";
33 echo $df->format($ts), "\n";
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
[all …]
H A Ddateformat_get_set_calendar_variant5.phpt17 function d(IntlDateFormatter $df) {
19 echo $df->format($ts), "\n";
20 var_dump($df->getCalendar(),
21 $df->getCalendarObject()->getType(),
22 $df->getCalendarObject()->getTimeZone()->getId());
26 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
27 d($df);
31 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
32 d($df);
36 $df->setCalendar($cal);
[all …]
H A Ddateformat_get_set_calendar_variant4.phpt16 function d(IntlDateFormatter $df) {
18 echo $df->format($ts), "\n";
19 var_dump($df->getCalendar(),
20 $df->getCalendarObject()->getType(),
21 $df->getCalendarObject()->getTimeZone()->getId());
25 $df = new IntlDateFormatter('fr@calendar=islamic', 0, 0, 'Europe/Minsk');
26 d($df);
30 $df->setCalendar(IntlDateFormatter::TRADITIONAL);
31 d($df);
35 $df->setCalendar($cal);
[all …]
H A Ddateformat_create_cal_arg.phpt16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
17 echo $df->format($ts), "\n";
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
[all …]
H A Ddateformat_create_cal_arg_variant2.phpt16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
17 echo $df->format($ts), "\n";
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
[all …]
H A Ddateformat_create_cal_arg_variant3.phpt17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
18 echo $df->format($ts), "\n";
21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
22 echo $df->format($ts), "\n";
27 echo $df->format($ts), "\n";
30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
31 echo $df->format($ts), "\n";
35 echo $df->format($ts), "\n";
39 echo $df->format($ts), "\n";
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
[all …]
H A Ddateformat_create_cal_arg_variant5.phpt16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
17 echo $df->format($ts), "\n";
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
21 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
38 echo $df->format($ts), "\n";
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
[all …]
H A Ddateformat_timezone_arg_variations3.phpt16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
17 echo $df->format($ts), "\n";
19 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
20 echo $df->format($ts), "\n";
22 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
23 echo $df->format($ts), "\n";
26 echo $df->format($ts), "\n";
30 echo $df->format($ts), "\n";
34 echo $df->format($ts), "\n";
36 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
[all …]
H A Ddateformat_create_cal_arg_variant4.phpt17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
18 echo $df->format($ts), "\n";
21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
22 echo $df->format($ts), "\n";
27 echo $df->format($ts), "\n";
30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
31 echo $df->format($ts), "\n";
35 echo $df->format($ts), "\n";
39 echo $df->format($ts), "\n";
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
[all …]
H A Ddateformat_setTimeZone_error.phpt11 $df = new IntlDateFormatter(NULL, 0, 0);
13 var_dump($df->setTimeZone(array()));
14 var_dump($df->setTimeZone('non existing timezone'));
/php-src/ext/intl/dateformat/
H A Ddateformat_format_object.cpp75 DateFormat *df = NULL; in PHP_FUNCTION() local
193 df = new SimpleDateFormat( in PHP_FUNCTION()
206 df = DateFormat::createDateTimeInstance(dateStyle, timeStyle, in PHP_FUNCTION()
209 if (df == NULL) { /* according to ICU sources, this should never happen */ in PHP_FUNCTION()
219 df->adoptCalendar(cal); in PHP_FUNCTION()
221 df->adoptTimeZone(timeZone); in PHP_FUNCTION()
227 df->format(date, result); in PHP_FUNCTION()
242 delete df; in PHP_FUNCTION()
/php-src/ext/dom/tests/
H A Dgh16595.phpt12 $v7 = new DOMElement ( "L" , null , "df" );
25 <jg xmlns:default="df"><IU/><default:L xmlns="df"/></jg>
/php-src/Zend/tests/
H A Dbug79668.phpt7 $df = get_defined_functions(true);
9 var_dump(in_array($funcname, $df['internal'], true));

Completed in 24 milliseconds

12