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

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

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 months 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
« no previous file with comments | « charted/lib/locale/format/time_format.dart ('k') | charted/lib/locale/locale.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 part of charted.locale;
9
10 // Defines the en_us locale and related format properties.
11 class EnUsLocale extends Locale {
12 static EnUsLocale instance;
13
14 factory EnUsLocale() {
15 if (EnUsLocale.instance == null) {
16 EnUsLocale.instance = new EnUsLocale._create();
17 }
18 return EnUsLocale.instance;
19 }
20
21 EnUsLocale._create();
22
23 final identifier = 'en_US';
24 final decimal = '.';
25 final thousands = ',';
26 final grouping = const[3];
27 final currency = const['\$', ''];
28 final dateTime = '%a %b %e %X %Y';
29 final date = '%m/%d/%Y';
30 final time = '%H =>%M =>%S';
31 final periods = const['AM', 'PM'];
32
33 final days = const[
34 'Sunday', 'Monday', 'Tuesday',
35 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
36 final shortDays = const['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
37
38 final months = const[
39 'January', 'February', 'March', 'April', 'May', 'June',
40 'July', 'August', 'September', 'October', 'November', 'December'];
41 final shortMonths = const[
42 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
43 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];
44 }
OLDNEW
« no previous file with comments | « charted/lib/locale/format/time_format.dart ('k') | charted/lib/locale/locale.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698