| 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 * |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 /** | 25 /** |
| 26 * This should be called for at least one [locale] before any date | 26 * This should be called for at least one [locale] before any date |
| 27 * formatting methods are called. It sets up the lookup for date | 27 * formatting methods are called. It sets up the lookup for date |
| 28 * symbols. Both the [locale] and [ignored] parameter are ignored, as | 28 * symbols. Both the [locale] and [ignored] parameter are ignored, as |
| 29 * the data for all locales is directly available. | 29 * the data for all locales is directly available. |
| 30 */ | 30 */ |
| 31 Future initializeDateFormatting(String locale, String ignored) { | 31 Future initializeDateFormatting(String locale, String ignored) { |
| 32 initializeDateSymbols(dateTimeSymbolMap); | 32 initializeDateSymbols(dateTimeSymbolMap); |
| 33 initializeDatePatterns(dateTimePatternMap); | 33 initializeDatePatterns(dateTimePatternMap); |
| 34 return new Future.immediate(null); | 34 return new Future.value(); |
| 35 } | 35 } |
| 36 | 36 |
| 37 /** | 37 /** |
| 38 * Returns a Map from locale names to the DateSymbols instance for | 38 * Returns a Map from locale names to the DateSymbols instance for |
| 39 * that locale. Internal use only. Call initializeDateFormatting | 39 * that locale. Internal use only. Call initializeDateFormatting |
| 40 * instead. | 40 * instead. |
| 41 */ | 41 */ |
| 42 Map dateTimeSymbolMap() => { | 42 Map dateTimeSymbolMap() => { |
| 43 /** | 43 /** |
| 44 * Date/time formatting symbols for locale en_ISO. | 44 * Date/time formatting symbols for locale en_ISO. |
| (...skipping 3516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3561 'ikota yesi-4'], | 3561 'ikota yesi-4'], |
| 3562 AMPMS: const [ 'AM', 'PM'], | 3562 AMPMS: const [ 'AM', 'PM'], |
| 3563 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y', | 3563 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y', |
| 3564 'yyyy-MM-dd'], | 3564 'yyyy-MM-dd'], |
| 3565 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a', | 3565 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a', |
| 3566 'h:mm a'], | 3566 'h:mm a'], |
| 3567 FIRSTDAYOFWEEK: 6, | 3567 FIRSTDAYOFWEEK: 6, |
| 3568 WEEKENDRANGE: const [5, 6], | 3568 WEEKENDRANGE: const [5, 6], |
| 3569 FIRSTWEEKCUTOFFDAY: 5) | 3569 FIRSTWEEKCUTOFFDAY: 5) |
| 3570 }; | 3570 }; |
| OLD | NEW |