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

Side by Side Diff: pkg/intl/lib/date_symbol_data_local.dart

Issue 14070010: Refactor Future constructors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Added co19 issue number. Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « pkg/intl/example/basic/messages_all.dart ('k') | pkg/intl/lib/generate_localized.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4
5 /** 5 /**
6 * Date/time formatting symbols for all locales. 6 * Date/time formatting symbols for all locales.
7 * 7 *
8 * DO NOT EDIT. This file is autogenerated by script. See 8 * DO NOT EDIT. This file is autogenerated by script. See
9 * 'http://go/generate_datetime_constants.py' using the --for_dart flag. 9 * 'http://go/generate_datetime_constants.py' using the --for_dart flag.
10 * 10 *
(...skipping 13 matching lines...) Expand all
24 24
25 /** 25 /**
26 * This should be called for at least one [locale] before any date 26 * This should be called for at least one [locale] before any date
27 * formatting methods are called. It sets up the lookup for date 27 * formatting methods are called. It sets up the lookup for date
28 * symbols. Both the [locale] and [ignored] parameter are ignored, as 28 * symbols. Both the [locale] and [ignored] parameter are ignored, as
29 * the data for all locales is directly available. 29 * the data for all locales is directly available.
30 */ 30 */
31 Future initializeDateFormatting(String locale, String ignored) { 31 Future initializeDateFormatting(String locale, String ignored) {
32 initializeDateSymbols(dateTimeSymbolMap); 32 initializeDateSymbols(dateTimeSymbolMap);
33 initializeDatePatterns(dateTimePatternMap); 33 initializeDatePatterns(dateTimePatternMap);
34 return new Future.immediate(null); 34 return new Future.value();
35 } 35 }
36 36
37 /** 37 /**
38 * Returns a Map from locale names to the DateSymbols instance for 38 * Returns a Map from locale names to the DateSymbols instance for
39 * that locale. Internal use only. Call initializeDateFormatting 39 * that locale. Internal use only. Call initializeDateFormatting
40 * instead. 40 * instead.
41 */ 41 */
42 Map dateTimeSymbolMap() => { 42 Map dateTimeSymbolMap() => {
43 /** 43 /**
44 * Date/time formatting symbols for locale en_ISO. 44 * Date/time formatting symbols for locale en_ISO.
(...skipping 3516 matching lines...) Expand 10 before | Expand all | Expand 10 after
3561 'ikota yesi-4'], 3561 'ikota yesi-4'],
3562 AMPMS: const [ 'AM', 'PM'], 3562 AMPMS: const [ 'AM', 'PM'],
3563 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y', 3563 DATEFORMATS: const [ 'EEEE dd MMMM y', 'd MMMM y', 'd MMM y',
3564 'yyyy-MM-dd'], 3564 'yyyy-MM-dd'],
3565 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a', 3565 TIMEFORMATS: const [ 'h:mm:ss a zzzz', 'h:mm:ss a z', 'h:mm:ss a',
3566 'h:mm a'], 3566 'h:mm a'],
3567 FIRSTDAYOFWEEK: 6, 3567 FIRSTDAYOFWEEK: 6,
3568 WEEKENDRANGE: const [5, 6], 3568 WEEKENDRANGE: const [5, 6],
3569 FIRSTWEEKCUTOFFDAY: 5) 3569 FIRSTWEEKCUTOFFDAY: 5)
3570 }; 3570 };
OLDNEW
« no previous file with comments | « pkg/intl/example/basic/messages_all.dart ('k') | pkg/intl/lib/generate_localized.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698