/php-src/ext/intl/tests/ |
H A D | bug69398-icu74.1.phpt | 2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE. 14 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE… 15 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
|
H A D | gh12282.phpt | 2 GitHub #12282 IntlDateFormatter::locale with invalid value. 9 new IntlDateFormatter( 11 IntlDateFormatter::FULL, 12 IntlDateFormatter::FULL, 23 new IntlDateFormatter(Locale::getDefault()); 28 IntlDateFormatter::__construct(): Argument #1 ($locale) "xx" is invalid 29 IntlDateFormatter::__construct(): Argument #1 ($locale) "xx" is invalid
|
H A D | bug69398.phpt | 2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE. 15 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE… 16 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
|
H A D | bug62017.phpt | 9 datefmt_create('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "\xFF", 10 IntlDateFormatter::GREGORIAN, 'a')); 13 new IntlDateFormatter('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "Europe/Lisbon", 14 IntlDateFormatter::GREGORIAN, "\x80")); 23 Exception: IntlDateFormatter::__construct(): datefmt_create: error converting pattern to UTF-16 in …
|
H A D | bug68471.phpt | 2 Bug #68471 (IntlDateFormatter fails for "GMT+00:00" timezone) 7 $formatter = new IntlDateFormatter( 9 IntlDateFormatter::NONE, 10 IntlDateFormatter::NONE, 16 object(IntlDateFormatter)#1 (0) {
|
H A D | dateformat_format_parse.phpt | 24 IntlDateFormatter::FULL, 25 IntlDateFormatter::LONG, 26 IntlDateFormatter::MEDIUM 148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | bug77895.phpt | 2 Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null 10 var_dump(IntlDateFormatter::create(null, IntlDateFormatter::NONE, IntlDateFormatter::NONE)); 14 object(IntlDateFormatter)#1 (0) {
|
H A D | dateformat_format_parse_version2.phpt | 25 IntlDateFormatter::FULL, 26 IntlDateFormatter::LONG, 27 IntlDateFormatter::MEDIUM 149 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 152 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 155 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 163 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 166 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 169 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | dateformat_format_parse_version_icu72-1.phpt | 24 IntlDateFormatter::FULL, 25 IntlDateFormatter::LONG, 26 IntlDateFormatter::MEDIUM 148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 [all …]
|
H A D | dateformat___construct_bad_tz_cal.phpt | 2 IntlDateFormatter::__construct(): bad timezone or calendar 16 var_dump(new IntlDateFormatter(NULL, 0, 0, 'bad timezone')); 21 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, 3)); 26 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, new stdclass)); 32 Exception: IntlDateFormatter::__construct(): datefmt_create: No such time zone: 'bad timezone' in %… 34 …IntlDateFormatter::__construct(): datefmt_create: Invalid value for calendar type; it must be one … 36 Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|i…
|
H A D | dateformat_get_set_pattern2.phpt | 25 $res_str .= "\nCreating IntlDateFormatter with pattern = $start_pattern "; 26 …= ut_datefmt_create( "en-US", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT , 'America/New_Y… 27 …t = ut_datefmt_create( "en-US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/New_Yo… 37 $res_str .= "\nSetting IntlDateFormatter with pattern = $pattern_entry "; 57 Creating IntlDateFormatter with pattern = dd-MM-YY 62 Setting IntlDateFormatter with pattern = DD-MM-YYYY hh:mm:ss 68 Setting IntlDateFormatter with pattern = yyyy-DDD.hh:mm:ss z 74 Setting IntlDateFormatter with pattern = yyyy/MM/dd 80 Setting IntlDateFormatter with pattern = yyyyMMdd
|
H A D | dateformat_get_locale.phpt | 29 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry"; 30 …atefmt_create( $locale_entry , IntlDateFormatter::SHORT,IntlDateFormatter::SHORT,'America/Los_Ange… 52 Creating IntlDateFormatter with locale = de-DE 55 Creating IntlDateFormatter with locale = sl-IT-nedis 58 Creating IntlDateFormatter with locale = en_UK 61 Creating IntlDateFormatter with locale = hi
|
H A D | dateformat_get_timezone_id.phpt | 28 $res_str .= "\nCreating IntlDateFormatter with timezone_id = $timezone_id_entry"; 29 …= ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $timezone_id_en… 45 Creating IntlDateFormatter with timezone_id = America/New_York 48 Creating IntlDateFormatter with timezone_id = US/Pacific 51 Creating IntlDateFormatter with timezone_id = US/Central
|
H A D | dateformat_create_cal_arg.phpt | 2 IntlDateFormatter: several forms of the calendar arg 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant2.phpt | 2 IntlDateFormatter: several forms of the calendar arg 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant3.phpt | 2 IntlDateFormatter: several forms of the calendar arg 17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 26 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant4.phpt | 2 IntlDateFormatter: several forms of the calendar arg 17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 26 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_create_cal_arg_variant5.phpt | 2 IntlDateFormatter: several forms of the calendar arg 16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal); 25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal); 29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0); 33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL); 37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL); 40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
|
H A D | dateformat_bug65683.phpt | 2 Bug #65683 IntlDateFormatter accepts DateTimeImmutable 8 $formatter = new IntlDateFormatter('en-US', IntlDateFormatter::FULL, IntlDateFormatter::NONE, new D…
|
H A D | dateformat_is_set_lenient.phpt | 19 …= ut_datefmt_create( "en-US", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT , 'America/New_Y… 33 $res_str .= "Setting IntlDateFormatter with lenient = "; 52 $res_str .= "Setting IntlDateFormatter with lenient ="; 79 IntlDateFormatter Created. 82 Setting IntlDateFormatter with lenient = TRUE 85 Setting IntlDateFormatter with lenient =FALSE
|
H A D | bug50590.phpt | 2 Bug #50590 (IntlDateFormatter::parse result is limited to the integer range) 10 $fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
|
H A D | bug75378.phpt | 2 Bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument) 8 $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC'…
|
H A D | dateformat_timezone_arg_variations.phpt | 2 IntlDateFormatter: several forms of the timezone arg 15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL); 18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam'); 21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon')); 24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York')); 28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li… 32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon')); 35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
|
H A D | dateformat_timezone_arg_variations2.phpt | 2 IntlDateFormatter: several forms of the timezone arg 15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL); 18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam'); 21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon')); 24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York')); 28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li… 32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon')); 35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
|
H A D | dateformat_timezone_arg_variations4.phpt | 2 IntlDateFormatter: several forms of the timezone arg 15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL); 18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam'); 21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon')); 24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York')); 28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li… 32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon')); 35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
|