Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(548)

Side by Side Diff: packages/charted/lib/locale/languages/en_us.dart

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // 1 //
2 // Copyright 2014 Google Inc. All rights reserved. 2 // Copyright 2014 Google Inc. All rights reserved.
3 // 3 //
4 // Use of this source code is governed by a BSD-style 4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at 5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd 6 // https://developers.google.com/open-source/licenses/bsd
7 // 7 //
8 part of charted.locale; 8 part of charted.locale;
9 9
10 // Defines the en_us locale and related format properties. 10 // Defines the en_us locale and related format properties.
11 class EnUsLocale extends Locale { 11 class EnUsLocale extends Locale {
12 static EnUsLocale instance; 12 static EnUsLocale instance;
13 13
14 factory EnUsLocale() { 14 factory EnUsLocale() {
15 if (EnUsLocale.instance == null) { 15 if (EnUsLocale.instance == null) {
16 EnUsLocale.instance = new EnUsLocale._create(); 16 EnUsLocale.instance = new EnUsLocale._create();
17 } 17 }
18 return EnUsLocale.instance; 18 return EnUsLocale.instance;
19 } 19 }
20 20
21 EnUsLocale._create(); 21 EnUsLocale._create();
22 22
23 final identifier = 'en_US'; 23 final identifier = 'en_US';
24 final decimal = '.'; 24 final decimal = '.';
25 final thousands = ','; 25 final thousands = ',';
26 final grouping = const[3]; 26 final grouping = const [3];
27 final currency = const['\$', '']; 27 final currency = const ['\$', ''];
28 final dateTime = '%a %b %e %X %Y'; 28 final dateTime = '%a %b %e %X %Y';
29 final date = '%m/%d/%Y'; 29 final date = '%m/%d/%Y';
30 final time = '%H =>%M =>%S'; 30 final time = '%H =>%M =>%S';
31 final periods = const['AM', 'PM']; 31 final periods = const ['AM', 'PM'];
32 32
33 final days = const[ 33 final days = const [
34 'Sunday', 'Monday', 'Tuesday', 34 'Sunday',
35 'Wednesday', 'Thursday', 'Friday', 'Saturday']; 35 'Monday',
36 final shortDays = const['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']; 36 'Tuesday',
37 'Wednesday',
38 'Thursday',
39 'Friday',
40 'Saturday'
41 ];
42 final shortDays = const ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
37 43
38 final months = const[ 44 final months = const [
39 'January', 'February', 'March', 'April', 'May', 'June', 45 'January',
40 'July', 'August', 'September', 'October', 'November', 'December']; 46 'February',
41 final shortMonths = const[ 47 'March',
42 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 48 'April',
43 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; 49 'May',
50 'June',
51 'July',
52 'August',
53 'September',
54 'October',
55 'November',
56 'December'
57 ];
58 final shortMonths = const [
59 'Jan',
60 'Feb',
61 'Mar',
62 'Apr',
63 'May',
64 'Jun',
65 'Jul',
66 'Aug',
67 'Sep',
68 'Oct',
69 'Nov',
70 'Dec'
71 ];
44 } 72 }
OLDNEW
« no previous file with comments | « packages/charted/lib/locale/format/time_format.dart ('k') | packages/charted/lib/selection/selection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698