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 * Date/time formatting symbols for all locales. | 6 * Date/time formatting symbols for all locales. |
7 * | 7 * |
8 * DO NOT EDIT. This file is autogenerated by script. See | 8 * DO NOT EDIT. This file is autogenerated by script. See |
9 * 'http://go/generate_datetime_constants.py' using the --for_dart flag. | 9 * 'http://go/generate_datetime_constants.py' using the --for_dart flag. |
10 * | 10 * |
11 * Before checkin, this file could have been manually edited. This is | 11 * Before checkin, this file could have been manually edited. This is |
12 * to incorporate changes before we could correct CLDR. All manual | 12 * to incorporate changes before we could correct CLDR. All manual |
13 * modification must be documented in this section, and should be | 13 * modification must be documented in this section, and should be |
14 * removed after those changes land to CLDR. | 14 * removed after those changes land to CLDR. |
15 */ | 15 */ |
16 | 16 |
17 library date_symbol_data; | 17 #library("date_symbol_data"); |
18 import "date_symbols.dart"; | 18 #import("date_symbols.dart"); |
19 import "src/date_format_internal.dart"; | 19 #import("src/date_format_internal.dart"); |
20 import "date_time_patterns.dart"; | 20 #import("date_time_patterns.dart"); |
21 | 21 |
22 /** | 22 /** |
23 * This should be called for at least one [locale] before any date | 23 * This should be called for at least one [locale] before any date |
24 * formatting methods are called. It sets up the lookup for date | 24 * formatting methods are called. It sets up the lookup for date |
25 * symbols. Both the [locale] and [ignored] parameter are ignored, as | 25 * symbols. Both the [locale] and [ignored] parameter are ignored, as |
26 * the data for all locales is directly available. | 26 * the data for all locales is directly available. |
27 */ | 27 */ |
28 Future initializeDateFormatting(String locale, String ignored) { | 28 Future initializeDateFormatting(String locale, String ignored) { |
29 initializeDateSymbols(dateTimeSymbolMap); | 29 initializeDateSymbols(dateTimeSymbolMap); |
30 initializeDatePatterns(dateTimePatternMap); | 30 initializeDatePatterns(dateTimePatternMap); |
(...skipping 3527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3558 'ikota yesi-4'], | 3558 'ikota yesi-4'], |
3559 AMPMS: const [ 'AM', 'PM'], | 3559 AMPMS: const [ 'AM', 'PM'], |
3560 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y', | 3560 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y', |
3561 'yyyy-MM-dd'], | 3561 'yyyy-MM-dd'], |
3562 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a', | 3562 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a', |
3563 'h:mm a'], | 3563 'h:mm a'], |
3564 FIRSTDAYOFWEEK: 6, | 3564 FIRSTDAYOFWEEK: 6, |
3565 WEEKENDRANGE: const [5, 6], | 3565 WEEKENDRANGE: const [5, 6], |
3566 FIRSTWEEKCUTOFFDAY: 5) | 3566 FIRSTWEEKCUTOFFDAY: 5) |
3567 }; | 3567 }; |
OLD | NEW |