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: pkg/intl/lib/date_symbol_data_file.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/lib/date_format.dart ('k') | pkg/intl/lib/date_symbol_data_local.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 * This file should be imported, along with date_format.dart in order to read 6 * This file should be imported, along with date_format.dart in order to read
7 * locale data from files in the file system. 7 * locale data from files in the file system.
8 */ 8 */
9 9
10 library date_symbol_data_json; 10 library date_symbol_data_json;
11 11
12 import 'dart:async';
12 import "date_symbols.dart"; 13 import "date_symbols.dart";
13 import "src/lazy_locale_data.dart"; 14 import "src/lazy_locale_data.dart";
14 import 'src/date_format_internal.dart'; 15 import 'src/date_format_internal.dart';
15 import 'src/file_data_reader.dart'; 16 import 'src/file_data_reader.dart';
16 import 'dart:io'; 17 import 'dart:io';
17 18
18 part "src/data/dates/localeList.dart"; 19 part "src/data/dates/localeList.dart";
19 20
20 /** 21 /**
21 * This should be called for at least one [locale] before any date formatting 22 * This should be called for at least one [locale] before any date formatting
(...skipping 12 matching lines...) Expand all
34 (symbols, patterns) { 35 (symbols, patterns) {
35 return Futures.wait([ 36 return Futures.wait([
36 symbols.initLocale(locale), 37 symbols.initLocale(locale),
37 patterns.initLocale(locale)]); 38 patterns.initLocale(locale)]);
38 }); 39 });
39 } 40 }
40 41
41 /** Defines how new date symbol entries are created. */ 42 /** Defines how new date symbol entries are created. */
42 DateSymbols _createDateSymbol(Map map) { 43 DateSymbols _createDateSymbol(Map map) {
43 return new DateSymbols.deserializeFromMap(map); 44 return new DateSymbols.deserializeFromMap(map);
44 } 45 }
OLDNEW
« no previous file with comments | « pkg/intl/lib/date_format.dart ('k') | pkg/intl/lib/date_symbol_data_local.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698