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 library date_symbols; | 4 #library("date_symbols"); |
5 | 5 |
6 /** | 6 /** |
7 * This holds onto information about how a particular locale formats dates. It | 7 * This holds onto information about how a particular locale formats dates. It |
8 * contains mostly strings, e.g. what the names of months or weekdays are, | 8 * contains mostly strings, e.g. what the names of months or weekdays are, |
9 * but also indicates things like the first day of the week. We expect the data | 9 * but also indicates things like the first day of the week. We expect the data |
10 * for instances of these to be generated out of ICU or a similar reference | 10 * for instances of these to be generated out of ICU or a similar reference |
11 * source. This is used in conjunction with the date_time_patterns, which | 11 * source. This is used in conjunction with the date_time_patterns, which |
12 * defines for a particular locale the different named formats that will | 12 * defines for a particular locale the different named formats that will |
13 * make use of this data. | 13 * make use of this data. |
14 */ | 14 */ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 map["TIMEFORMATS"] = TIMEFORMATS; | 106 map["TIMEFORMATS"] = TIMEFORMATS; |
107 map["AVAILABLEFORMATS"] = AVAILABLEFORMATS; | 107 map["AVAILABLEFORMATS"] = AVAILABLEFORMATS; |
108 map["FIRSTDAYOFWEEK"] = FIRSTDAYOFWEEK; | 108 map["FIRSTDAYOFWEEK"] = FIRSTDAYOFWEEK; |
109 map["WEEKENDRANGE"] = WEEKENDRANGE; | 109 map["WEEKENDRANGE"] = WEEKENDRANGE; |
110 map["FIRSTWEEKCUTOFFDAY"] = FIRSTWEEKCUTOFFDAY; | 110 map["FIRSTWEEKCUTOFFDAY"] = FIRSTWEEKCUTOFFDAY; |
111 return map; | 111 return map; |
112 } | 112 } |
113 | 113 |
114 toString() => NAME; | 114 toString() => NAME; |
115 } | 115 } |
OLD | NEW |