Test: /ext/intl/tests/dateformat_format.phpt - Version 5.5.0RC2    

There are 2 different diffs reported by users for this test.

Count Diff
5 (63%)
007+ Formatted timestamp is : Wednesday, December 31, 1969 at 2:00:00 PM GMT-10:00
007- Formatted timestamp is : Wednesday, December 31, 1969 2:00:00 PM GMT-10:00
009+ Formatted timestamp is : December 31, 1969 at 2:00:00 PM GMT-10
009- Formatted timestamp is : December 31, 1969 2:00:00 PM GMT-10:00
011+ Formatted timestamp is : Dec 31, 1969, 2:00:00 PM
011- Formatted timestamp is : Dec 31, 1969 2:00:00 PM
013+ Formatted timestamp is : 12/31/69, 2:00 PM
013- Formatted timestamp is : 12/31/69 2:00 PM
022+ Formatted timestamp is : Wednesday, December 17, 1969 at 4:40:00 PM GMT-10:00
022- Formatted timestamp is : Wednesday, December 17, 1969 4:40:00 PM GMT-10:00
024+ Formatted timestamp is : December 17, 1969 at 4:40:00 PM GMT-10
024- Formatted timestamp is : December 17, 1969 4:40:00 PM GMT-10:00
026+ Formatted timestamp is : Dec 17, 1969, 4:40:00 PM
026- Formatted timestamp is : Dec 17, 1969 4:40:00 PM
028+ Formatted timestamp is : 12/17/69, 4:40 PM
028- Formatted timestamp is : 12/17/69 4:40 PM
037+ Formatted timestamp is : Wednesday, January 14, 1970 at 11:20:00 AM GMT-10:00
037- Formatted timestamp is : Wednesday, January 14, 1970 11:20:00 AM GMT-10:00
039+ Formatted timestamp is : January 14, 1970 at 11:20:00 AM GMT-10
039- Formatted timestamp is : January 14, 1970 11:20:00 AM GMT-10:00
041+ Formatted timestamp is : Jan 14, 1970, 11:20:00 AM
041- Formatted timestamp is : Jan 14, 1970 11:20:00 AM
043+ Formatted timestamp is : 1/14/70, 11:20 AM
043- Formatted timestamp is : 1/14/70 11:20 AM
052+ Formatted timestamp is : Sunday, September 18, 2039 at 1:06:40 PM GMT-10:00
052- Formatted timestamp is : Sunday, September 18, 2039 1:06:40 PM GMT-10:00
054+ Formatted timestamp is : September 18, 2039 at 1:06:40 PM GMT-10
054- Formatted timestamp is : September 18, 2039 1:06:40 PM GMT-10:00
056+ Formatted timestamp is : Sep 18, 2039, 1:06:40 PM
056- Formatted timestamp is : Sep 18, 2039 1:06:40 PM
058+ Formatted timestamp is : 9/18/39, 1:06 PM
058- Formatted timestamp is : 9/18/39 1:06 PM
067+ Formatted timestamp is : Saturday, April 14, 1900 at 2:53:20 PM GMT-10:00
067- Formatted timestamp is : Saturday, April 14, 1900 2:53:20 PM GMT-10:00
069+ Formatted timestamp is : April 14, 1900 at 2:53:20 PM GMT-10
069- Formatted timestamp is : April 14, 1900 2:53:20 PM GMT-10:00
071+ Formatted timestamp is : Apr 14, 1900, 2:53:20 PM
071- Formatted timestamp is : Apr 14, 1900 2:53:20 PM
073+ Formatted timestamp is : 4/14/00, 2:53 PM
073- Formatted timestamp is : 4/14/00 2:53 PM
082+ Formatted timestamp is : Wednesday, November 8, 1972 at 9:46:39 AM GMT-10:00
082- Formatted timestamp is : Wednesday, November 8, 1972 9:46:39 AM GMT-10:00
084+ Formatted timestamp is : November 8, 1972 at 9:46:39 AM GMT-10
084- Formatted timestamp is : November 8, 1972 9:46:39 AM GMT-10:00
086+ Formatted timestamp is : Nov 8, 1972, 9:46:39 AM
086- Formatted timestamp is : Nov 8, 1972 9:46:39 AM
088+ Formatted timestamp is : 11/8/72, 9:46 AM
088- Formatted timestamp is : 11/8/72 9:46 AM
097+ Formatted timestamp is : Wednesday, December 31, 1969 at 3:00:00 PM GMT-10:00
097- Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM GMT-10:00
099+ Formatted timestamp is : December 31, 1969 at 3:00:00 PM GMT-10
099- Formatted timestamp is : December 31, 1969 3:00:00 PM GMT-10:00
101+ Formatted timestamp is : Dec 31, 1969, 3:00:00 PM
101- Formatted timestamp is : Dec 31, 1969 3:00:00 PM
103+ Formatted timestamp is : 12/31/69, 3:00 PM
103- Formatted timestamp is : 12/31/69 3:00 PM
112+ Formatted timestamp is : Wednesday, December 31, 1969 at 1:00:00 PM GMT-10:00
112- Formatted timestamp is : Wednesday, December 31, 1969 1:00:00 PM GMT-10:00
114+ Formatted timestamp is : December 31, 1969 at 1:00:00 PM GMT-10
114- Formatted timestamp is : December 31, 1969 1:00:00 PM GMT-10:00
116+ Formatted timestamp is : Dec 31, 1969, 1:00:00 PM
116- Formatted timestamp is : Dec 31, 1969 1:00:00 PM
118+ Formatted timestamp is : 12/31/69, 1:00 PM
118- Formatted timestamp is : 12/31/69 1:00 PM
127+ Formatted localtime_array is : Sunday, April 3, 2005 at 7:03:24 PM GMT-10:00
127- Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT-10:00
129+ Formatted localtime_array is : April 3, 2005 at 7:03:24 PM GMT-10
129- Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT-10:00
131+ Formatted localtime_array is : Apr 3, 2005, 7:03:24 PM
131- Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
133+ Formatted localtime_array is : 4/3/05, 7:03 PM
133- Formatted localtime_array is : 4/3/05 7:03 PM
142+ Formatted localtime_array is : Wednesday, May 13, 2105 at 7:05:21 AM GMT-10:00
142- Formatted localtime_array is : Wednesday, May 13, 2105 7:05:21 AM GMT-10:00
144+ Formatted localtime_array is : May 13, 2105 at 7:05:21 AM GMT-10
144- Formatted localtime_array is : May 13, 2105 7:05:21 AM GMT-10:00
146+ Formatted localtime_array is : May 13, 2105, 7:05:21 AM
146- Formatted localtime_array is : May 13, 2105 7:05:21 AM
148+ Formatted localtime_array is : 5/13/05, 7:05 AM
148- Formatted localtime_array is : 5/13/05 7:05 AM
157+ Formatted localtime_array is : Tuesday, December 17, 1895 at 12:13:11 AM GMT-10:00
157- Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT-10:00
159+ Formatted localtime_array is : December 17, 1895 at 12:13:11 AM GMT-10
159- Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT-10:00
161+ Formatted localtime_array is : Dec 17, 1895, 12:13:11 AM
161- Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
163+ Formatted localtime_array is : 12/17/95, 12:13 AM
163- Formatted localtime_array is : 12/17/95 12:13 AM
173+ Formatted DateTime is : Thursday, December 31, 2009 at 3:02:03 PM GMT-10:00
174+ ------------
175+ Date is: DateTime::__set_state(array(
176+ 'date' => '2010-01-01 01:02:03',
177+ 'timezone_type' => 3,
178+ 'timezone' => 'UTC',
179+ ))
180+ ------------
181+ Formatted DateTime is : December 31, 2009 at 3:02:03 PM GMT-10
182+ ------------
183+ Date is: DateTime::__set_state(array(
184+ 'date' => '2010-01-01 01:02:03',
185+ 'timezone_type' => 3,
186+ 'timezone' => 'UTC',
187+ ))
188+ ------------
189+ Formatted DateTime is : Dec 31, 2009, 3:02:03 PM
190+ ------------
191+ Date is: DateTime::__set_state(array(
192+ 'date' => '2010-01-01 01:02:03',
193+ 'timezone_type' => 3,
194+ 'timezone' => 'UTC',
195+ ))
196+ ------------
197+ Formatted DateTime is : 12/31/09, 3:02 PM
173- Formatted DateTime is : Thursday, December 31, 2009 3:02:03 PM GMT-10:00
181- Formatted DateTime is : December 31, 2009 3:02:03 PM GMT-10:00
184- 'date' => '2010-01-01 01:02:03',
186- 'timezone' => 'UTC',
189- Formatted DateTime is : Dec 31, 2009 3:02:03 PM
192- 'date' => '2010-01-01 01:02:03',
194- 'timezone' => 'UTC',
197- Formatted DateTime is : 12/31/09 3:02 PM
200- 'date' => '2010-01-01 01:02:03',
202- 'timezone' => 'UTC',
205+ Formatted DateTime is : 20091231 03:02 PM
205- Formatted DateTime is : 20091231 03:02 PM
208+ 'date' => '2000-12-30 19:04:05',
210+ 'timezone' => 'America/Los_Angeles',
213+ Formatted DateTime is : Saturday, December 30, 2000 at 5:04:05 PM GMT-10:00
213- Formatted DateTime is : Saturday, December 30, 2000 5:04:05 PM GMT-10:00
214- ------------
215- Date is: DateTime::__set_state(array(
216- 'date' => '2000-12-30 19:04:05',
217- 'timezone_type' => 3,
218- 'timezone' => 'America/Los_Angeles',
216+ 'date' => '2000-12-30 19:04:05',
218+ 'timezone' => 'America/Los_Angeles',
221+ Formatted DateTime is : December 30, 2000 at 5:04:05 PM GMT-10
221- Formatted DateTime is : December 30, 2000 5:04:05 PM GMT-10:00
224+ 'date' => '2000-12-30 19:04:05',
226+ 'timezone' => 'America/Los_Angeles',
229+ Formatted DateTime is : Dec 30, 2000, 5:04:05 PM
230+ ------------
231+ Date is: DateTime::__set_state(array(
232+ 'date' => '2000-12-30 19:04:05',
233+ 'timezone_type' => 3,
234+ 'timezone' => 'America/Los_Angeles',
235+ ))
236+ ------------
237+ Formatted DateTime is : 12/30/00, 5:04 PM
245+ Formatted DateTime is : 20001230 05:04 PM
246+ ------------
247+ Date is: stdClass::__set_state(array(
248+ ))
249+ ------------
250+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
251+ ------------
252+ Date is: stdClass::__set_state(array(
253+ ))
254+ ------------
255+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
256+ ------------
257+ Date is: stdClass::__set_state(array(
258+ ))
259+ ------------
260+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
261+ ------------
262+ Date is: stdClass::__set_state(array(
263+ ))
264+ ------------
265+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
266+ ------------
267+ Date is: stdClass::__set_state(array(
270+ Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
222- ------------
223- Date is: DateTime::__set_state(array(
224- 'date' => '2000-12-30 19:04:05',
225- 'timezone_type' => 3,
226- 'timezone' => 'America/Los_Angeles',
227- ))
228- ------------
229- Formatted DateTime is : Dec 30, 2000 5:04:05 PM
230- ------------
231- Date is: DateTime::__set_state(array(
232- 'date' => '2000-12-30 19:04:05',
233- 'timezone_type' => 3,
234- 'timezone' => 'America/Los_Angeles',
235- ))
236- ------------
237- Formatted DateTime is : 12/30/00 5:04 PM
238- ------------
239- Date is: DateTime::__set_state(array(
240- 'date' => '2000-12-30 19:04:05',
241- 'timezone_type' => 3,
242- 'timezone' => 'America/Los_Angeles',
243- ))
244- ------------
245- Formatted DateTime is : 20001230 05:04 PM
246- ------------
247- Date is: stdClass::__set_state(array(
248- ))
249- ------------
250- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
251- ------------
252- Date is: stdClass::__set_state(array(
253- ))
254- ------------
255- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
256- ------------
257- Date is: stdClass::__set_state(array(
258- ))
259- ------------
260- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
261- ------------
262- Date is: stdClass::__set_state(array(
263- ))
264- ------------
265- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
266- ------------
267- Date is: stdClass::__set_state(array(
268- ))
269- ------------
270- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
3 (38%)
001+ Fatal error: Uncaught exception 'IntlException' with message 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted)' in /usr/local/src/php-5.5.0RC2/ext/intl/tests/ut_common.inc:382
002+ Stack trace:
003+ #0 /usr/local/src/php-5.5.0RC2/ext/intl/tests/ut_common.inc(382): IntlDateFormatter->format(Object(stdClass))
004+ #1 %s/dateformat_format.php(128): ut_datefmt_format(Object(IntlDateFormatter), Object(stdClass))
005+ #2 /usr/local/src/php-5.5.0RC2/ext/intl/tests/ut_common.inc(12): ut_main()
006+ #3 %s/dateformat_format.php(145): ut_run()
007+ #4 {main}
008+ thrown in /usr/local/src/php-5.5.0RC2/ext/intl/tests/ut_common.inc on line 382
001- ------------
002-
003- Input timestamp is : 0
004- ------------
005-
006- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
007- Formatted timestamp is : Wednesday, December 31, 1969 2:00:00 PM GMT-10:00
008- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
009- Formatted timestamp is : December 31, 1969 2:00:00 PM GMT-10:00
010- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
011- Formatted timestamp is : Dec 31, 1969 2:00:00 PM
012- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
013- Formatted timestamp is : 12/31/69 2:00 PM
014- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
015- Formatted timestamp is : 19691231 02:00 PM
016- ------------
017-
018- Input timestamp is : -1200000
019- ------------
020-
021- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
022- Formatted timestamp is : Wednesday, December 17, 1969 4:40:00 PM GMT-10:00
023- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
024- Formatted timestamp is : December 17, 1969 4:40:00 PM GMT-10:00
025- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
026- Formatted timestamp is : Dec 17, 1969 4:40:00 PM
027- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
028- Formatted timestamp is : 12/17/69 4:40 PM
029- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
030- Formatted timestamp is : 19691217 04:40 PM
031- ------------
032-
033- Input timestamp is : 1200000
034- ------------
035-
036- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
037- Formatted timestamp is : Wednesday, January 14, 1970 11:20:00 AM GMT-10:00
038- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
039- Formatted timestamp is : January 14, 1970 11:20:00 AM GMT-10:00
040- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
041- Formatted timestamp is : Jan 14, 1970 11:20:00 AM
042- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
043- Formatted timestamp is : 1/14/70 11:20 AM
044- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
045- Formatted timestamp is : 19700114 11:20 AM
046- ------------
047-
048- Input timestamp is : 2200000000
049- ------------
050-
051- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
052- Formatted timestamp is : Sunday, September 18, 2039 1:06:40 PM GMT-10:00
053- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
054- Formatted timestamp is : September 18, 2039 1:06:40 PM GMT-10:00
055- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
056- Formatted timestamp is : Sep 18, 2039 1:06:40 PM
057- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
058- Formatted timestamp is : 9/18/39 1:06 PM
059- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
060- Formatted timestamp is : 20390918 01:06 PM
061- ------------
062-
063- Input timestamp is : -2200000000
064- ------------
065-
066- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
067- Formatted timestamp is : Saturday, April 14, 1900 2:53:20 PM GMT-10:00
068- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
069- Formatted timestamp is : April 14, 1900 2:53:20 PM GMT-10:00
070- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
071- Formatted timestamp is : Apr 14, 1900 2:53:20 PM
072- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
073- Formatted timestamp is : 4/14/00 2:53 PM
074- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
075- Formatted timestamp is : 19000414 02:53 PM
076- ------------
077-
078- Input timestamp is : 90099999
079- ------------
080-
081- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
082- Formatted timestamp is : Wednesday, November 8, 1972 9:46:39 AM GMT-10:00
083- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
084- Formatted timestamp is : November 8, 1972 9:46:39 AM GMT-10:00
085- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
086- Formatted timestamp is : Nov 8, 1972 9:46:39 AM
087- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
088- Formatted timestamp is : 11/8/72 9:46 AM
089- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
090- Formatted timestamp is : 19721108 09:46 AM
091- ------------
092-
093- Input timestamp is : 3600
094- ------------
095-
096- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
097- Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM GMT-10:00
098- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
099- Formatted timestamp is : December 31, 1969 3:00:00 PM GMT-10:00
100- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
101- Formatted timestamp is : Dec 31, 1969 3:00:00 PM
102- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
103- Formatted timestamp is : 12/31/69 3:00 PM
104- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
105- Formatted timestamp is : 19691231 03:00 PM
106- ------------
107-
108- Input timestamp is : -3600
109- ------------
110-
111- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
112- Formatted timestamp is : Wednesday, December 31, 1969 1:00:00 PM GMT-10:00
113- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
114- Formatted timestamp is : December 31, 1969 1:00:00 PM GMT-10:00
115- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
116- Formatted timestamp is : Dec 31, 1969 1:00:00 PM
117- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
118- Formatted timestamp is : 12/31/69 1:00 PM
119- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
120- Formatted timestamp is : 19691231 01:00 PM
121- ------------
122-
123- Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' ,
124- ------------
125-
126- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
127- Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT-10:00
128- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
129- Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT-10:00
130- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
131- Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
132- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
133- Formatted localtime_array is : 4/3/05 7:03 PM
134- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
135- Formatted localtime_array is : 20050403 07:03 PM
136- ------------
137-
138- Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' , tm_year : '205' ,
139- ------------
140-
141- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
142- Formatted localtime_array is : Wednesday, May 13, 2105 7:05:21 AM GMT-10:00
143- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
144- Formatted localtime_array is : May 13, 2105 7:05:21 AM GMT-10:00
145- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
146- Formatted localtime_array is : May 13, 2105 7:05:21 AM
147- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
148- Formatted localtime_array is : 5/13/05 7:05 AM
149- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
150- Formatted localtime_array is : 21050513 07:05 AM
151- ------------
152-
153- Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11' , tm_year : '-5' ,
154- ------------
155-
156- IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
157- Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT-10:00
158- IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
159- Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT-10:00
160- IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
161- Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
162- IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
163- Formatted localtime_array is : 12/17/95 12:13 AM
164- IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
165- Formatted localtime_array is : 18951217 12:13 AM
166- ------------
167- Date is: DateTime::__set_state(array(
168- 'date' => '2010-01-01 01:02:03',
169- 'timezone_type' => 3,
170- 'timezone' => 'UTC',
171- ))
172- ------------
173- Formatted DateTime is : Thursday, December 31, 2009 3:02:03 PM GMT-10:00
174- ------------
175- Date is: DateTime::__set_state(array(
176- 'date' => '2010-01-01 01:02:03',
177- 'timezone_type' => 3,
178- 'timezone' => 'UTC',
179- ))
180- ------------
181- Formatted DateTime is : December 31, 2009 3:02:03 PM GMT-10:00
182- ------------
183- Date is: DateTime::__set_state(array(
184- 'date' => '2010-01-01 01:02:03',
185- 'timezone_type' => 3,
186- 'timezone' => 'UTC',
187- ))
188- ------------
189- Formatted DateTime is : Dec 31, 2009 3:02:03 PM
190- ------------
191- Date is: DateTime::__set_state(array(
192- 'date' => '2010-01-01 01:02:03',
193- 'timezone_type' => 3,
194- 'timezone' => 'UTC',
195- ))
196- ------------
197- Formatted DateTime is : 12/31/09 3:02 PM
198- ------------
199- Date is: DateTime::__set_state(array(
200- 'date' => '2010-01-01 01:02:03',
201- 'timezone_type' => 3,
202- 'timezone' => 'UTC',
203- ))
204- ------------
205- Formatted DateTime is : 20091231 03:02 PM
206- ------------
207- Date is: DateTime::__set_state(array(
208- 'date' => '2000-12-30 19:04:05',
209- 'timezone_type' => 3,
210- 'timezone' => 'America/Los_Angeles',
211- ))
212- ------------
213- Formatted DateTime is : Saturday, December 30, 2000 5:04:05 PM GMT-10:00
214- ------------
215- Date is: DateTime::__set_state(array(
216- 'date' => '2000-12-30 19:04:05',
217- 'timezone_type' => 3,
218- 'timezone' => 'America/Los_Angeles',
219- ))
220- ------------
221- Formatted DateTime is : December 30, 2000 5:04:05 PM GMT-10:00
222- ------------
223- Date is: DateTime::__set_state(array(
224- 'date' => '2000-12-30 19:04:05',
225- 'timezone_type' => 3,
226- 'timezone' => 'America/Los_Angeles',
227- ))
228- ------------
229- Formatted DateTime is : Dec 30, 2000 5:04:05 PM
230- ------------
231- Date is: DateTime::__set_state(array(
232- 'date' => '2000-12-30 19:04:05',
233- 'timezone_type' => 3,
234- 'timezone' => 'America/Los_Angeles',
235- ))
236- ------------
237- Formatted DateTime is : 12/30/00 5:04 PM
238- ------------
239- Date is: DateTime::__set_state(array(
240- 'date' => '2000-12-30 19:04:05',
241- 'timezone_type' => 3,
242- 'timezone' => 'America/Los_Angeles',
243- ))
244- ------------
245- Formatted DateTime is : 20001230 05:04 PM
246- ------------
247- Date is: stdClass::__set_state(array(
248- ))
249- ------------
250- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
251- ------------
252- Date is: stdClass::__set_state(array(
253- ))
254- ------------
255- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
256- ------------
257- Date is: stdClass::__set_state(array(
258- ))
259- ------------
260- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
261- ------------
262- Date is: stdClass::__set_state(array(
263- ))
264- ------------
265- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'
266- ------------
267- Date is: stdClass::__set_state(array(
268- ))
269- ------------
270- Error while formatting as: 'datefmt_format: invalid object type for date/time (only IntlCalendar and DateTime permitted): U_ILLEGAL_ARGUMENT_ERROR'