| 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 * This file should be imported, along with date_format.dart in order to read | 6 * This file should be imported, along with date_format.dart in order to read |
| 7 * locale data from files in the file system. | 7 * locale data from files in the file system. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 library date_symbol_data_file; | 10 library date_symbol_data_file; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 new LazyLocaleData(reader2, (x) => x, availableLocalesForDateFormatting)); | 36 new LazyLocaleData(reader2, (x) => x, availableLocalesForDateFormatting)); |
| 37 return initializeIndividualLocaleDateFormatting((symbols, patterns) { | 37 return initializeIndividualLocaleDateFormatting((symbols, patterns) { |
| 38 return Future | 38 return Future |
| 39 .wait([symbols.initLocale(locale), patterns.initLocale(locale)]); | 39 .wait([symbols.initLocale(locale), patterns.initLocale(locale)]); |
| 40 }); | 40 }); |
| 41 } | 41 } |
| 42 | 42 |
| 43 /** Defines how new date symbol entries are created. */ | 43 /** Defines how new date symbol entries are created. */ |
| 44 DateSymbols _createDateSymbol(Map map) => | 44 DateSymbols _createDateSymbol(Map map) => |
| 45 new DateSymbols.deserializeFromMap(map); | 45 new DateSymbols.deserializeFromMap(map); |
| OLD | NEW |