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

Side by Side Diff: packages/intl/lib/date_symbol_data_http_request.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
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 via http requests to a web server.. 7 * locale data via http requests to a web server..
8 */ 8 */
9 library date_symbol_data_http_request; 9 library date_symbol_data_http_request;
10 10
(...skipping 25 matching lines...) Expand all
36 locale, (l) => availableLocalesForDateFormatting.contains(l)); 36 locale, (l) => availableLocalesForDateFormatting.contains(l));
37 return initializeIndividualLocaleDateFormatting((symbols, patterns) { 37 return initializeIndividualLocaleDateFormatting((symbols, patterns) {
38 return Future.wait( 38 return Future.wait(
39 [symbols.initLocale(actualLocale), patterns.initLocale(actualLocale)]); 39 [symbols.initLocale(actualLocale), patterns.initLocale(actualLocale)]);
40 }); 40 });
41 } 41 }
42 42
43 /** Defines how new date symbol entries are created. */ 43 /** Defines how new date symbol entries are created. */
44 DateSymbols _createDateSymbol(Map map) => 44 DateSymbols _createDateSymbol(Map map) =>
45 new DateSymbols.deserializeFromMap(map); 45 new DateSymbols.deserializeFromMap(map);
OLDNEW
« no previous file with comments | « packages/intl/lib/date_symbol_data_file.dart ('k') | packages/intl/lib/date_symbol_data_local.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698