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

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

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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/generate_localized.dart ('k') | pkg/intl/lib/message_lookup_by_library.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 library provides internationalization and localization. This includes 6 * This library provides internationalization and localization. This includes
7 * message formatting and replacement, date and number formatting and parsing, 7 * message formatting and replacement, date and number formatting and parsing,
8 * and utilities for working with Bidirectional text. 8 * and utilities for working with Bidirectional text.
9 * 9 *
10 * ## Installing ## 10 * ## Installing ##
(...skipping 13 matching lines...) Expand all
24 * ways of making that data available, which may require importing different 24 * ways of making that data available, which may require importing different
25 * libraries. See the class comments for more details. 25 * libraries. See the class comments for more details.
26 * 26 *
27 * There is also a simple example application that can be found in the 27 * There is also a simple example application that can be found in the
28 * `example/basic` directory. 28 * `example/basic` directory.
29 * 29 *
30 * [pub]: http://pub.dartlang.org 30 * [pub]: http://pub.dartlang.org
31 */ 31 */
32 library intl; 32 library intl;
33 33
34 import 'dart:async'; 34 import 'dart:collection';
35 import 'src/intl_helpers.dart'; 35 import 'src/intl_helpers.dart';
36 import 'dart:math'; 36 import 'dart:math';
37 import 'date_symbols.dart'; 37 import 'date_symbols.dart';
38 import 'src/date_format_internal.dart'; 38 import 'src/date_format_internal.dart';
39 import "number_symbols.dart"; 39 import "number_symbols.dart";
40 import "number_symbols_data.dart"; 40 import "number_symbols_data.dart";
41 41
42 part 'date_format.dart'; 42 part 'date_format.dart';
43 part 'src/date_format_field.dart'; 43 part 'src/date_format_field.dart';
44 part 'src/date_format_helpers.dart'; 44 part 'src/date_format_helpers.dart';
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 * unless for some reason this gets called inside a message that resets the 340 * unless for some reason this gets called inside a message that resets the
341 * locale. 341 * locale.
342 */ 342 */
343 static String getCurrentLocale() { 343 static String getCurrentLocale() {
344 if (_defaultLocale == null) _defaultLocale = systemLocale; 344 if (_defaultLocale == null) _defaultLocale = systemLocale;
345 return _defaultLocale; 345 return _defaultLocale;
346 } 346 }
347 347
348 toString() => "Intl($locale)"; 348 toString() => "Intl($locale)";
349 } 349 }
OLDNEW
« no previous file with comments | « pkg/intl/lib/generate_localized.dart ('k') | pkg/intl/lib/message_lookup_by_library.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698