OLD | NEW |
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 | 13 |
14 #library('date_time_format_test_data'); | 14 library date_time_format_test_data; |
15 | 15 |
16 var English = const { | 16 var English = const { |
17 "DAY" : "27", | 17 "DAY" : "27", |
18 "ABBR_WEEKDAY" : "Fri", | 18 "ABBR_WEEKDAY" : "Fri", |
19 "WEEKDAY" : "Friday", | 19 "WEEKDAY" : "Friday", |
20 "ABBR_STANDALONE_MONTH" : "Jan", | 20 "ABBR_STANDALONE_MONTH" : "Jan", |
21 "STANDALONE_MONTH" : "January", | 21 "STANDALONE_MONTH" : "January", |
22 "NUM_MONTH" : "1", | 22 "NUM_MONTH" : "1", |
23 "NUM_MONTH_DAY" : "1/27", | 23 "NUM_MONTH_DAY" : "1/27", |
24 "NUM_MONTH_WEEKDAY_DAY" : "Fri, 1/27", | 24 "NUM_MONTH_WEEKDAY_DAY" : "Fri, 1/27", |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 "ABBR_SPECIFIC_TZ" : "GMT-08:00", | 327 "ABBR_SPECIFIC_TZ" : "GMT-08:00", |
328 "ABBR_UTC_TZ" : "GMT-08:00", | 328 "ABBR_UTC_TZ" : "GMT-08:00", |
329 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND" : | 329 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND" : |
330 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ.", | 330 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ.", |
331 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + GENERIC_TZ" : | 331 "YEAR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + GENERIC_TZ" : |
332 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ. Ώρα Ειρηνικού", | 332 "Παρασκευή, 27 Ιανουαρίου 2012 8:58:59 μ.μ. Ώρα Ειρηνικού", |
333 "YEAR_ABBR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + ABBR_SPECIFIC_TZ" : | 333 "YEAR_ABBR_MONTH_WEEKDAY_DAY + HOUR_MINUTE_SECOND + ABBR_SPECIFIC_TZ" : |
334 "Παρ, 27 Ιαν 2012 8:58:59 μ.μ. GMT-08:00", | 334 "Παρ, 27 Ιαν 2012 8:58:59 μ.μ. GMT-08:00", |
335 "HOUR_MINUTE_SECOND + ABBR_GENERIC_TZ" : | 335 "HOUR_MINUTE_SECOND + ABBR_GENERIC_TZ" : |
336 "8:58:59 μ.μ. Ηνωμένες Πολιτείες της Αμερικής (Λος Άντζελες)", | 336 "8:58:59 μ.μ. Ηνωμένες Πολιτείες της Αμερικής (Λος Άντζελες)", |
337 "HOUR_MINUTE + ABBR_SPECIFIC_TZ" : "8:58 μ.μ. GMT-08:00"}; | 337 "HOUR_MINUTE + ABBR_SPECIFIC_TZ" : "8:58 μ.μ. GMT-08:00"}; |
OLD | NEW |