OLD | NEW |
| (Empty) |
1 // | |
2 // Copyright 2014 Google Inc. All rights reserved. | |
3 // | |
4 // Use of this source code is governed by a BSD-style | |
5 // license that can be found in the LICENSE file or at | |
6 // https://developers.google.com/open-source/licenses/bsd | |
7 // | |
8 | |
9 library charted.locale; | |
10 | |
11 import 'package:charted/locale/format.dart'; | |
12 | |
13 part 'languages/en_us.dart'; | |
14 | |
15 abstract class Locale { | |
16 String get identifier; | |
17 String get decimal; | |
18 String get thousands; | |
19 List get grouping; | |
20 List get currency; | |
21 | |
22 String get dateTime; | |
23 String get date; | |
24 String get time; | |
25 List get periods; | |
26 | |
27 List get days; | |
28 List get shortDays; | |
29 | |
30 List get months; | |
31 List get shortMonths; | |
32 | |
33 Locale(); | |
34 | |
35 NumberFormat get numberFormat => new NumberFormat(this); | |
36 TimeFormat timeFormat([specifier = null]) => | |
37 new TimeFormat(specifier, this.identifier); | |
38 } | |
OLD | NEW |