]> granicus.if.org Git - php/commitdiff
fix tests
authorStanislav Malyshev <stas@php.net>
Thu, 4 Sep 2008 00:16:58 +0000 (00:16 +0000)
committerStanislav Malyshev <stas@php.net>
Thu, 4 Sep 2008 00:16:58 +0000 (00:16 +0000)
ext/intl/tests/dateformat_format.phpt
ext/intl/tests/dateformat_format_parse.phpt

index e110c6d151dfc25d1f19ef7b5355fcd9627eb9da..c4fed041d9b1dbac34bc8113aaf4f856817f3398 100755 (executable)
@@ -12,6 +12,8 @@ datefmt_format_code()
 
 function ut_main()
 {
+       $timezone = 'GMT-10';
+
        $locale_arr = array (
                'en_US'
        );
@@ -45,31 +47,22 @@ function ut_main()
            'tm_mday' => 3,
            'tm_mon' => 3,
            'tm_year' => 105,
-           'tm_wday' => 0,
-           'tm_yday' => 93,
-           'tm_isdst' => 1
        );
        $localtime_arr2 = array (
-           'tm_sec' => 2,
-           'tm_min' => 3,
-           'tm_hour' => 3,
-           'tm_mday' => 3,
-           'tm_mon' => 3,
+           'tm_sec' => 21,
+           'tm_min' => 5,
+           'tm_hour' => 7,
+           'tm_mday' => 13,
+           'tm_mon' => 4,
            'tm_year' => 205,
-           'tm_wday' => 5,
-           'tm_yday' => 93,
-           'tm_isdst' => 1
        );
        $localtime_arr3 = array (
-            'tm_sec' => 24 ,
-            'tm_min' => 3,
-            'tm_hour' => 3,
-            'tm_mday' => 3,
-            'tm_mon' => 3,
-            'tm_year' => -5,
-            'tm_wday' => 3,
-            'tm_yday' => 93,
-            'tm_isdst' => 1
+            'tm_sec' => 11,
+            'tm_min' => 13,
+            'tm_hour' => 0,
+            'tm_mday' => 17,
+            'tm_mon' => 11,
+            'tm_year' => -5
         );
 
        $localtime_arr = array (
@@ -87,9 +80,7 @@ function ut_main()
                        foreach( $datetype_arr as $datetype_entry )
        {
                $res_str .= "\nIntlDateFormatter locale= $locale_entry ,datetype = $datetype_entry ,timetype =$datetype_entry ";
-               //$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,'America/Los_Angeles', IntlDateFormatter::GREGORIAN  ,"dd/mm/yyyy");
-               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,'America/Los_Angeles', IntlDateFormatter::GREGORIAN  );
-               //$fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry);
+               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFormatter::GREGORIAN);
                $formatted = ut_datefmt_format( $fmt , $timestamp_entry);
                $res_str .= "\nFormatted timestamp is : $formatted";
        }
@@ -109,7 +100,7 @@ function ut_main()
                        foreach( $datetype_arr as $datetype_entry )
        {
                $res_str .= "\nIntlDateFormatter locale= $locale_entry ,datetype = $datetype_entry ,timetype =$datetype_entry ";
-               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry);
+               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry, $timezone, IntlDateFormatter::GREGORIAN );
                $formatted1 = ut_datefmt_format( $fmt , $localtime_entry);
                if( intl_get_error_code() == U_ZERO_ERROR){
                        $res_str .= "\nFormatted localtime_array is : $formatted1";
@@ -136,129 +127,129 @@ Input timestamp is : 0
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 4:00:00 PM PT
+Formatted timestamp is : Wednesday, December 31, 1969 2:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 4:00:00 PM PST
+Formatted timestamp is : December 31, 1969 2:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 4:00:00 PM
+Formatted timestamp is : Dec 31, 1969 2:00:00 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 12/31/69 4:00 PM
+Formatted timestamp is : 12/31/69 2:00 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19691231 04:00 PM
+Formatted timestamp is : 19691231 02:00 PM
 ------------
 
 Input timestamp is : -1200000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 17, 1969 6:40:00 PM PT
+Formatted timestamp is : Wednesday, December 17, 1969 4:40:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 17, 1969 6:40:00 PM PST
+Formatted timestamp is : December 17, 1969 4:40:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 17, 1969 6:40:00 PM
+Formatted timestamp is : Dec 17, 1969 4:40:00 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 12/17/69 6:40 PM
+Formatted timestamp is : 12/17/69 4:40 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19691217 06:40 PM
+Formatted timestamp is : 19691217 04:40 PM
 ------------
 
 Input timestamp is : 1200000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, January 14, 1970 1:20:00 PM PT
+Formatted timestamp is : Wednesday, January 14, 1970 11:20:00 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : January 14, 1970 1:20:00 PM PST
+Formatted timestamp is : January 14, 1970 11:20:00 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Jan 14, 1970 1:20:00 PM
+Formatted timestamp is : Jan 14, 1970 11:20:00 AM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 1/14/70 1:20 PM
+Formatted timestamp is : 1/14/70 11:20 AM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19700114 01:20 PM
+Formatted timestamp is : 19700114 11:20 AM
 ------------
 
 Input timestamp is : 2200000000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Sunday, September 18, 2039 4:06:40 PM PT
+Formatted timestamp is : Sunday, September 18, 2039 1:06:40 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : September 18, 2039 4:06:40 PM PDT
+Formatted timestamp is : September 18, 2039 1:06:40 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Sep 18, 2039 4:06:40 PM
+Formatted timestamp is : Sep 18, 2039 1:06:40 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 9/18/39 4:06 PM
+Formatted timestamp is : 9/18/39 1:06 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 20390918 04:06 PM
+Formatted timestamp is : 20390918 01:06 PM
 ------------
 
 Input timestamp is : -2200000000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Saturday, April 14, 1900 5:53:20 PM PT
+Formatted timestamp is : Saturday, April 14, 1900 2:53:20 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : April 14, 1900 5:53:20 PM PDT
+Formatted timestamp is : April 14, 1900 2:53:20 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Apr 14, 1900 5:53:20 PM
+Formatted timestamp is : Apr 14, 1900 2:53:20 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 4/14/00 5:53 PM
+Formatted timestamp is : 4/14/00 2:53 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19000414 05:53 PM
+Formatted timestamp is : 19000414 02:53 PM
 ------------
 
 Input timestamp is : 90099999
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, November 8, 1972 11:46:39 AM PT
+Formatted timestamp is : Wednesday, November 8, 1972 9:46:39 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : November 8, 1972 11:46:39 AM PST
+Formatted timestamp is : November 8, 1972 9:46:39 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Nov 8, 1972 11:46:39 AM
+Formatted timestamp is : Nov 8, 1972 9:46:39 AM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 11/8/72 11:46 AM
+Formatted timestamp is : 11/8/72 9:46 AM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19721108 11:46 AM
+Formatted timestamp is : 19721108 09:46 AM
 ------------
 
 Input timestamp is : 3600
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 5:00:00 PM PT
+Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 5:00:00 PM PST
+Formatted timestamp is : December 31, 1969 3:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 5:00:00 PM
+Formatted timestamp is : Dec 31, 1969 3:00:00 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 12/31/69 5:00 PM
+Formatted timestamp is : 12/31/69 3:00 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19691231 05:00 PM
+Formatted timestamp is : 19691231 03:00 PM
 ------------
 
 Input timestamp is : -3600
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM PT
+Formatted timestamp is : Wednesday, December 31, 1969 1:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 3:00:00 PM PST
+Formatted timestamp is : December 31, 1969 1:00:00 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 3:00:00 PM
+Formatted timestamp is : Dec 31, 1969 1:00:00 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted timestamp is : 12/31/69 3:00 PM
+Formatted timestamp is : 12/31/69 1:00 PM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted timestamp is : 19691231 03:00 PM
+Formatted timestamp is : 19691231 01:00 PM
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' , tm_wday : '0' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM PT
+Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 2005 7:03:24 PM PDT
+Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
 Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
@@ -267,31 +258,31 @@ IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1
 Formatted localtime_array is : 20050403 07:03 PM
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_mday : '3' , tm_mon : '3' , tm_year : '205' , tm_wday : '5' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '4' , tm_year : '205' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Friday, April 3, 2105 3:03:24 AM PT
+Formatted localtime_array is : Wednesday, May 13, 2105 7:05:21 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 2105 3:03:24 AM PDT
+Formatted localtime_array is : May 13, 2105 7:05:21 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted localtime_array is : Apr 3, 2105 3:03:24 AM
+Formatted localtime_array is : May 13, 2105 7:05:21 AM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted localtime_array is : 4/3/05 3:03 AM
+Formatted localtime_array is : 5/13/05 7:05 AM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted localtime_array is : 21050403 03:03 AM
+Formatted localtime_array is : 21050513 07:05 AM
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_mday : '3' , tm_mon : '3' , tm_year : '-5' , tm_wday : '3' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11' , tm_year : '-5' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Wednesday, April 3, 1895 3:03:24 AM PT
+Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 1895 3:03:24 AM PDT
+Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT-10:00
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted localtime_array is : Apr 3, 1895 3:03:24 AM
+Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3 
-Formatted localtime_array is : 4/3/95 3:03 AM
+Formatted localtime_array is : 12/17/95 12:13 AM
 IntlDateFormatter locale= en_US ,datetype = -1 ,timetype =-1 
-Formatted localtime_array is : 18950403 03:03 AM
+Formatted localtime_array is : 18951217 12:13 AM
\ No newline at end of file
index ec12de5f0e200f4b1241f671b293168c9816f958..eb4e989844e831f3e0be4b4f46693d5591a4c64c 100755 (executable)
@@ -12,6 +12,8 @@ datefmt_format_code() and datefmt_parse_code()
 
 function ut_main()
 {
+       $timezone = 'GMT+5'; 
+
        $locale_arr = array (
                'en_US'
        );
@@ -43,31 +45,22 @@ function ut_main()
            'tm_mday' => 3,
            'tm_mon' => 3,
            'tm_year' => 105,
-           'tm_wday' => 0,
-           'tm_yday' => 93,
-           'tm_isdst' => 1
        );
        $localtime_arr2 = array (
-           'tm_sec' => 2,
-           'tm_min' => 3,
-           'tm_hour' => 3,
-           'tm_mday' => 3,
-           'tm_mon' => 3,
+           'tm_sec' => 21,
+           'tm_min' => 5,
+           'tm_hour' => 7,
+           'tm_mday' => 13,
+           'tm_mon' => 7,
            'tm_year' => 205,
-           'tm_wday' => 5,
-           'tm_yday' => 93,
-           'tm_isdst' => 1
        );
        $localtime_arr3 = array (
-            'tm_sec' => 24 ,
-            'tm_min' => 3,
-            'tm_hour' => 3,
-            'tm_mday' => 3,
-            'tm_mon' => 3,
-            'tm_year' => -5,
-            'tm_wday' => 3,
-            'tm_yday' => 93,
-            'tm_isdst' => 1
+            'tm_sec' => 11,
+            'tm_min' => 13,
+            'tm_hour' => 0,
+            'tm_mday' => 17,
+            'tm_mon' => 11,
+            'tm_year' => -5
         );
 
        $localtime_arr = array (
@@ -84,7 +77,7 @@ function ut_main()
                foreach( $locale_arr as $locale_entry ){
                        foreach( $datetype_arr as $datetype_entry ) {
                                $res_str .= "\nIntlDateFormatter locale= $locale_entry ,datetype = $datetype_entry ,timetype =$datetype_entry ";
-                               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,'America/Los_Angeles', IntlDateFormatter::GREGORIAN  );
+                               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone);
                                $formatted = ut_datefmt_format( $fmt , $timestamp_entry);
                                $res_str .= "\nFormatted timestamp is : $formatted";
                                $parsed = ut_datefmt_parse( $fmt , $formatted);
@@ -109,7 +102,7 @@ function ut_main()
                foreach( $locale_arr as $locale_entry ){
                        foreach( $datetype_arr as $datetype_entry ) {
                                $res_str .= "\nIntlDateFormatter locale= $locale_entry ,datetype = $datetype_entry ,timetype =$datetype_entry ";
-                               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry);
+                               $fmt = ut_datefmt_create( $locale_entry , $datetype_entry ,$datetype_entry,$timezone);
                                $formatted1 = ut_datefmt_format( $fmt , $localtime_entry);
                                if( intl_get_error_code() == U_ZERO_ERROR){
                                        $res_str .= "\nFormatted localtime_array is : $formatted1";
@@ -151,13 +144,13 @@ Input timestamp is : 0
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 4:00:00 PM PT
+Formatted timestamp is : Thursday, January 1, 1970 5:00:00 AM GMT+05:00
 Parsed timestamp is : 0
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 4:00:00 PM PST
+Formatted timestamp is : January 1, 1970 5:00:00 AM GMT+05:00
 Parsed timestamp is : 0
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 4:00:00 PM
+Formatted timestamp is : Jan 1, 1970 5:00:00 AM
 Parsed timestamp is : 0
 ------------
 
@@ -165,13 +158,13 @@ Input timestamp is : -1200000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 17, 1969 6:40:00 PM PT
+Formatted timestamp is : Thursday, December 18, 1969 7:40:00 AM GMT+05:00
 Parsed timestamp is : -1200000
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 17, 1969 6:40:00 PM PST
+Formatted timestamp is : December 18, 1969 7:40:00 AM GMT+05:00
 Parsed timestamp is : -1200000
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 17, 1969 6:40:00 PM
+Formatted timestamp is : Dec 18, 1969 7:40:00 AM
 Parsed timestamp is : -1200000
 ------------
 
@@ -179,13 +172,13 @@ Input timestamp is : 1200000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, January 14, 1970 1:20:00 PM PT
+Formatted timestamp is : Thursday, January 15, 1970 2:20:00 AM GMT+05:00
 Parsed timestamp is : 1200000
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : January 14, 1970 1:20:00 PM PST
+Formatted timestamp is : January 15, 1970 2:20:00 AM GMT+05:00
 Parsed timestamp is : 1200000
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Jan 14, 1970 1:20:00 PM
+Formatted timestamp is : Jan 15, 1970 2:20:00 AM
 Parsed timestamp is : 1200000
 ------------
 
@@ -193,15 +186,15 @@ Input timestamp is : 2200000000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Sunday, September 18, 2039 4:06:40 PM PT
+Formatted timestamp is : Monday, September 19, 2039 4:06:40 AM GMT+05:00
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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'
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : September 18, 2039 4:06:40 PM PDT
+Formatted timestamp is : September 19, 2039 4:06:40 AM GMT+05:00
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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'
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Sep 18, 2039 4:06:40 PM
+Formatted timestamp is : Sep 19, 2039 4:06:40 AM
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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,15 +203,15 @@ Input timestamp is : -2200000000
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Saturday, April 14, 1900 5:53:20 PM PT
+Formatted timestamp is : Sunday, April 15, 1900 5:53:20 AM GMT+05:00
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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'
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : April 14, 1900 5:53:20 PM PDT
+Formatted timestamp is : April 15, 1900 5:53:20 AM GMT+05:00
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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'
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Apr 14, 1900 5:53:20 PM
+Formatted timestamp is : Apr 15, 1900 5:53:20 AM
 Error while parsing as: 'datefmt_parse: parsing of input parametrs resulted in value larger than data type long can handle.
 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'
 ------------
@@ -227,13 +220,13 @@ Input timestamp is : 90099999
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, November 8, 1972 11:46:39 AM PT
+Formatted timestamp is : Thursday, November 9, 1972 12:46:39 AM GMT+05:00
 Parsed timestamp is : 90099999
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : November 8, 1972 11:46:39 AM PST
+Formatted timestamp is : November 9, 1972 12:46:39 AM GMT+05:00
 Parsed timestamp is : 90099999
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Nov 8, 1972 11:46:39 AM
+Formatted timestamp is : Nov 9, 1972 12:46:39 AM
 Parsed timestamp is : 90099999
 ------------
 
@@ -241,13 +234,13 @@ Input timestamp is : 3600
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 5:00:00 PM PT
+Formatted timestamp is : Thursday, January 1, 1970 6:00:00 AM GMT+05:00
 Parsed timestamp is : 3600
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 5:00:00 PM PST
+Formatted timestamp is : January 1, 1970 6:00:00 AM GMT+05:00
 Parsed timestamp is : 3600
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 5:00:00 PM
+Formatted timestamp is : Jan 1, 1970 6:00:00 AM
 Parsed timestamp is : 3600
 ------------
 
@@ -255,53 +248,53 @@ Input timestamp is : -3600
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted timestamp is : Wednesday, December 31, 1969 3:00:00 PM PT
+Formatted timestamp is : Thursday, January 1, 1970 4:00:00 AM GMT+05:00
 Parsed timestamp is : -3600
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted timestamp is : December 31, 1969 3:00:00 PM PST
+Formatted timestamp is : January 1, 1970 4:00:00 AM GMT+05:00
 Parsed timestamp is : -3600
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted timestamp is : Dec 31, 1969 3:00:00 PM
+Formatted timestamp is : Jan 1, 1970 4:00:00 AM
 Parsed timestamp is : -3600
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' , tm_wday : '0' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_mday : '3' , tm_mon : '3' , tm_year : '105' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM PT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : Sunday, April 3, 2005 7:03:24 PM GMT+05:00
+Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' , 
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 2005 7:03:24 PM PDT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : April 3, 2005 7:03:24 PM GMT+05:00
+Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' , 
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
 Formatted localtime_array is : Apr 3, 2005 7:03:24 PM
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '19' , tm_year : '105' , tm_mday : '3' , tm_wday : '0' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '0' , 
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_mday : '3' , tm_mon : '3' , tm_year : '205' , tm_wday : '5' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_mday : '13' , tm_mon : '7' , tm_year : '205' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Friday, April 3, 2105 3:03:24 AM PT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '205' , tm_mday : '3' , tm_wday : '5' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : Thursday, August 13, 2105 7:05:21 AM GMT+05:00
+Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' , 
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 2105 3:03:24 AM PDT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '205' , tm_mday : '3' , tm_wday : '5' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : August 13, 2105 7:05:21 AM GMT+05:00
+Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' , 
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted localtime_array is : Apr 3, 2105 3:03:24 AM
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '205' , tm_mday : '3' , tm_wday : '5' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : Aug 13, 2105 7:05:21 AM
+Parsed array is: tm_sec : '21' , tm_min : '5' , tm_hour : '7' , tm_year : '205' , tm_mday : '13' , tm_wday : '4' , tm_yday : '225' , tm_mon : '7' , tm_isdst : '0' , 
 ------------
 
-Input localtime is : tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_mday : '3' , tm_mon : '3' , tm_year : '-5' , tm_wday : '3' , tm_yday : '93' , tm_isdst : '1' , 
+Input localtime is : tm_sec : '11' , tm_min : '13' , tm_hour : '0' , tm_mday : '17' , tm_mon : '11' , tm_year : '-5' , 
 ------------
 
 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0 
-Formatted localtime_array is : Wednesday, April 3, 1895 3:03:24 AM PT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : Tuesday, December 17, 1895 12:13:11 AM GMT+05:00
+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' , 
 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1 
-Formatted localtime_array is : April 3, 1895 3:03:24 AM PDT
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , 
+Formatted localtime_array is : December 17, 1895 12:13:11 AM GMT+05:00
+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' , 
 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2 
-Formatted localtime_array is : Apr 3, 1895 3:03:24 AM
-Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' ,
\ No newline at end of file
+Formatted localtime_array is : Dec 17, 1895 12:13:11 AM
+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' ,
\ No newline at end of file