~clint-fewbar/ubuntu/precise/php5/php5-5.4-merge

« back to all changes in this revision

Viewing changes to ext/intl/tests/dateformat_format_parse.phpt

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-02-22 09:46:37 UTC
  • mfrom: (1.1.20) (0.3.18 sid)
  • Revision ID: package-import@ubuntu.com-20110222094637-nlu2tvb7oqgaarl0
Tags: 5.3.5-1ubuntu1
* Merge from debian/unstable. Remaining changes:
 - debian/control:
    * Dropped firebird2.1-dev, libc-client-dev, libmcrypt-dev as it is in universe.
    * Dropped libmysqlclient15-dev, build against mysql 5.1.
    * Dropped libcurl-dev not in the archive.
    * Suggest php5-suhosin rather than recommends.
    * Dropped php5-imap, php5-interbase, php5-mcrypt since we have versions 
      already in universe.
    * Dropped libonig-dev and libqgdbm since its in universe. (will be re-added in lucid+1)
    * Dropped locales-all.
  - modulelist: Drop imap, interbase, sybase, and mcrypt.
  - debian/rules:
    * Dropped building of mcrypt, imap, and interbase.
    * Install apport hook for php5.
    * stop mysql instance on clean just in case we failed in tests

Show diffs side-by-side

added added

removed removed

Lines of Context:
187
187
 
188
188
IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
189
189
Formatted timestamp is : Monday, September 19, 2039 4:06:40 AM GMT+05:00
190
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
191
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
190
Parsed timestamp is : 2200000000
192
191
IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
193
192
Formatted timestamp is : September 19, 2039 4:06:40 AM GMT+05:00
194
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
195
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
193
Parsed timestamp is : 2200000000
196
194
IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
197
195
Formatted timestamp is : Sep 19, 2039 4:06:40 AM
198
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
199
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
196
Parsed timestamp is : 2200000000
200
197
------------
201
198
 
202
199
Input timestamp is : -2200000000
204
201
 
205
202
IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
206
203
Formatted timestamp is : Sunday, April 15, 1900 5:53:20 AM GMT+05:00
207
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
208
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
204
Parsed timestamp is : -2200000000
209
205
IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
210
206
Formatted timestamp is : April 15, 1900 5:53:20 AM GMT+05:00
211
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
212
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
207
Parsed timestamp is : -2200000000
213
208
IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
214
209
Formatted timestamp is : Apr 15, 1900 5:53:20 AM
215
 
Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
216
 
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT.: U_BUFFER_OVERFLOW_ERROR'
 
210
Parsed timestamp is : -2200000000
217
211
------------
218
212
 
219
213
Input timestamp is : 90099999
297
291
Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' , 
298
292
IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
299
293
Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
300
 
Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' ,
 
 
b'\\ No newline at end of file'
 
294
Parsed array is: tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_year : '-5' , tm_mday : '17' , tm_wday : '2' , tm_yday : '351' , tm_mon : '11' , tm_isdst : '0' ,