Chromium Code Reviews| Index: pkg/intl/date_format.dart |
| =================================================================== |
| --- pkg/intl/date_format.dart (revision 11781) |
| +++ pkg/intl/date_format.dart (working copy) |
| @@ -157,11 +157,10 @@ |
| #library('date_format'); |
| #import('dart:math'); |
| - |
| #import('intl.dart'); |
| -#import('date_time_patterns.dart'); |
| #import('date_symbols.dart'); |
| -#import('date_symbol_data.dart'); |
| +#import('lib/intl_helpers.dart'); |
| +#import('lib/date_format_internal.dart'); |
| #source('lib/date_format_field.dart'); |
| #source('lib/date_format_helpers.dart'); |
| @@ -255,6 +254,11 @@ |
| String get locale() => _locale; |
| /** |
| + * Returns a list of all locales for which we have date formatting information. |
|
Emily Fortuna
2012/09/04 20:14:42
80 char. :-P
Alan Knight
2012/09/04 23:39:03
Done.
|
| + */ |
| + static List<String> allLocalesWithSymbols() => dateTimeSymbols.getKeys(); |
| + |
| + /** |
| * Constructors for a set of predefined formats for which |
| * internationalized forms are known. These can be specified |
| * either as ICU constants, or as skeletons. |