Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: pkg/intl/test/date_time_format_test_data.dart

Issue 10917069: Async initialization for DateFormat (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Test data for one particular date formatted for a small number of locales. 6 * Test data for one particular date formatted for a small number of locales.
7 * Provides at least a basic check on formatting, including formatting with 7 * Provides at least a basic check on formatting, including formatting with
8 * non-ASCII characters and some different orderings. 8 * non-ASCII characters and some different orderings.
9 */ 9 */
10 10
11 // TODO(alanknight): Test more locales and a wider variety of test data, 11 // TODO(alanknight): Test more locales and a wider variety of test data,
12 // possibly by generating test data out of ICU. 12 // possibly by generating test data out of ICU.
13
14 #library('date_time_format_test_data');
15
13 var English = const { 16 var English = const {
14 "DAY" : "27", 17 "DAY" : "27",
15 "ABBR_WEEKDAY" : "Fri", 18 "ABBR_WEEKDAY" : "Fri",
16 "WEEKDAY" : "Friday", 19 "WEEKDAY" : "Friday",
17 "ABBR_STANDALONE_MONTH" : "Jan", 20 "ABBR_STANDALONE_MONTH" : "Jan",
18 "STANDALONE_MONTH" : "January", 21 "STANDALONE_MONTH" : "January",
19 "NUM_MONTH" : "1", 22 "NUM_MONTH" : "1",
20 "NUM_MONTH_DAY" : "1/27", 23 "NUM_MONTH_DAY" : "1/27",
21 "NUM_MONTH_WEEKDAY_DAY" : "Fri, 1/27", 24 "NUM_MONTH_WEEKDAY_DAY" : "Fri, 1/27",
22 "ABBR_MONTH" : "Jan", 25 "ABBR_MONTH" : "Jan",
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 "ABBR_UTC_TZ" : "GMT-08:00", 328 "ABBR_UTC_TZ" : "GMT-08:00",
326 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND" : 329 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND" :
327 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ.", 330 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ.",
328 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + GENERIC_TZ" : 331 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + GENERIC_TZ" :
329 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ. Ώρα Ειρηνικού", 332 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ. Ώρα Ειρηνικού",
330 "YEAR_ABBR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + ABBR_SPECIFIC_TZ" : 333 "YEAR_ABBR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + ABBR_SPECIFIC_TZ" :
331 "Παρ, 27 Ιαν 2012 8:58:59 μ.μ. GMT-08:00", 334 "Παρ, 27 Ιαν 2012 8:58:59 μ.μ. GMT-08:00",
332 "HOUR_MINUTE_SECOND + ABBR_GENERIC_TZ" : 335 "HOUR_MINUTE_SECOND + ABBR_GENERIC_TZ" :
333 "8:58:59 μ.μ. Ηνωμένες Πολιτείες της Αμερικής (Λος Άντζελες)", 336 "8:58:59 μ.μ. Ηνωμένες Πολιτείες της Αμερικής (Λος Άντζελες)",
334 "HOUR_MINUTE + ABBR_SPECIFIC_TZ" : "8:58 μ.μ. GMT-08:00"}; 337 "HOUR_MINUTE + ABBR_SPECIFIC_TZ" : "8:58 μ.μ. GMT-08:00"};
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698