]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/testdata/format.txt
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / test / testdata / format.txt
index 703951ef515852787785763179883fcf8f1f393e..2cd8e89542b6bf6735bd077d83bedcb9a8fc76b8 100644 (file)
@@ -1,4 +1,6 @@
-// Copyright (c) 2007-2013 International Business Machines
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
+// Copyright (c) 2007-2015 International Business Machines
 // Corporation and others. All Rights Reserved.
 format:table(nofallback) {
     Info {
@@ -70,21 +72,21 @@ format:table(nofallback) {
                     "",
                     "DATE=RELATIVE_SHORT",
                     "RELATIVE_ADD:DATE=1", // one day from now
-                    "Tomorrow"
+                    "tomorrow"
                },
                {
                     "en_US@calendar=gregorian",         
                     "",
                     "DATE=RELATIVE_SHORT",
                     "RELATIVE_MILLIS=0", // today
-                    "Today"
+                    "today"
                },
                {
                     "en_US@calendar=gregorian",         
                     "",
                     "DATE=RELATIVE_SHORT",
                     "RELATIVE_ADD:DATE=-1", // one day before now
-                    "Yesterday"
+                    "yesterday"
                },
                // date only, out of relative range
                {
@@ -117,13 +119,13 @@ format:table(nofallback) {
                     "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
                     "Monday, October 8, 2012 at 11:59:00 PM GMT"
                },
-               // normal formats, combined using ", "
+               // normal formats, combined using 'at'
                {
                     "en_US@calendar=gregorian",         
                     "GMT",
                     "DATE=RELATIVE_MEDIUM,TIME=SHORT",
                     "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
-                    "Oct 8, 2012, 11:59 PM"
+                    "Oct 8, 2012 at 11:59 PM"
                },
                // formats with relative day, combined using 'at'
                {
@@ -131,15 +133,15 @@ format:table(nofallback) {
                     "GMT",
                     "DATE=RELATIVE_FULL,TIME=LONG",
                     "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
-                    "Yesterday at 5:00:00 PM GMT"
+                    "yesterday at 5:00:00 PM GMT"
                },
-               // formats with relative day, combined using ", "
+               // formats with relative day, combined using 'at'
                {
                     "en_US@calendar=gregorian",         
                     "GMT",
                     "DATE=RELATIVE_MEDIUM,TIME=SHORT",
                     "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
-                    "Yesterday, 5:00 PM"
+                    "yesterday at 5:00 PM"
                },
                // normal formats that have quoted literals, combined
                {
@@ -147,7 +149,7 @@ format:table(nofallback) {
                     "GMT",
                     "DATE=RELATIVE_FULL,TIME=LONG",
                     "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
-                    "segunda-feira, 8 de outubro de 2012 23:59:00 Horário de Greenwich"
+                    "segunda-feira, 8 de outubro de 2012 23:59:00 GMT"
                },
                // vi combined formats have time first
                {
@@ -155,14 +157,14 @@ format:table(nofallback) {
                     "GMT",
                     "DATE=RELATIVE_LONG,TIME=MEDIUM",
                     "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
-                    "23:59:00 Ngày 08 tháng 10 năm 2012"
+                    "23:59:00 ngày 8 tháng 10, 2012"
                },
                {
                     "vi@calendar=gregorian",         
                     "GMT",
                     "DATE=RELATIVE_LONG,TIME=MEDIUM",
                     "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
-                    "17:00:00 Ngày hôm qua"
+                    "17:00:00 Hôm qua"
                },
                // el combines formats using hyphen
                {
@@ -170,14 +172,14 @@ format:table(nofallback) {
                     "GMT",
                     "DATE=RELATIVE_LONG,TIME=MEDIUM",
                     "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE=59,SECOND=0",
-                    "8 Οκτωβρίου 2012 - 11:59:00 μ.μ."
+                    "8 Οκτωβρίου 2012 - 11:59:00 μμ"
                },
                {
                     "el@calendar=gregorian",         
                     "GMT",
                     "DATE=RELATIVE_LONG,TIME=MEDIUM",
                     "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
-                    "Χτες - 5:00:00 μ.μ."
+                    "χθες - 5:00:00 μμ"
                },
               // other tests
                {
@@ -199,14 +201,14 @@ format:table(nofallback) {
                     "",
                     "DATE=RELATIVE_SHORT",
                     "RELATIVE_ADD:DATE=-1", // one day before now
-                    "Lbieraħ"
+                    "Ilbieraħ"
                },
                {
                     "ru",
                     "",
                     "DATE=RELATIVE_SHORT",
                     "RELATIVE_ADD:DATE=-2", // 2 days ago
-                    "Ð\9fозавчера"
+                    "позавчера"
                },
             }
         }
@@ -492,35 +494,35 @@ format:table(nofallback) {
                     "",
                     "PATTERN=G y",
                     "YEAR=8",
-                    "Heisei 8"
+                    "Reiwa 8"
                },
                {
                     "en_US@calendar=japanese",         
                     "",
                     "PATTERN=G yy",
                     "YEAR=8",
-                    "Heisei 08"
+                    "Reiwa 08"
                },
                {
                     "en_US@calendar=japanese",         
                     "",
                     "PATTERN=G yyy",
                     "YEAR=8",
-                    "Heisei 008"
+                    "Reiwa 008"
                },
                {
                     "en_US@calendar=japanese",         
                     "",
                     "PATTERN=G yyyy",
                     "YEAR=8",
-                    "Heisei 0008"
+                    "Reiwa 0008"
                },
                {
                     "en_US@calendar=japanese",         
                     "",
                     "PATTERN=G yyyyy",
                     "YEAR=8",
-                    "Heisei 00008"
+                    "Reiwa 00008"
                },
 
             }
@@ -552,7 +554,7 @@ format:table(nofallback) {
                     "",
                     "DATE=FULL,TIME=FULL",
                     "MILLIS=3076424179200000",
-                    "Friday, Heshvan 3, 103217 AM at 12:00:00 AM GMT-08:00"
+                    "Friday, 3 Heshvan 103217 at 12:00:00 AM GMT-08:00"
                },
             }    
         }