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

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

Issue 102443007: Add lots of debugging machinery for flaky datetime creation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes from review comments Created 7 years 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 | « no previous file | pkg/intl/lib/src/date_format_helpers.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 * This is part of the [intl package] 10 * This is part of the [intl package]
(...skipping 11 matching lines...) Expand all
22 library intl; 22 library intl;
23 23
24 import 'dart:collection'; 24 import 'dart:collection';
25 import 'dart:convert'; 25 import 'dart:convert';
26 import 'src/intl_helpers.dart'; 26 import 'src/intl_helpers.dart';
27 import 'dart:math'; 27 import 'dart:math';
28 import 'date_symbols.dart'; 28 import 'date_symbols.dart';
29 import 'src/date_format_internal.dart'; 29 import 'src/date_format_internal.dart';
30 import "number_symbols.dart"; 30 import "number_symbols.dart";
31 import "number_symbols_data.dart"; 31 import "number_symbols_data.dart";
32 import "src/temporary_debugging.dart";
32 33
33 part 'date_format.dart'; 34 part 'date_format.dart';
34 part 'src/date_format_field.dart'; 35 part 'src/date_format_field.dart';
35 part 'src/date_format_helpers.dart'; 36 part 'src/date_format_helpers.dart';
36 part 'bidi_formatter.dart'; 37 part 'bidi_formatter.dart';
37 part 'bidi_utils.dart'; 38 part 'bidi_utils.dart';
38 part 'number_format.dart'; 39 part 'number_format.dart';
39 40
40 /** 41 /**
41 * The Intl class provides a common entry point for internationalization 42 * The Intl class provides a common entry point for internationalization
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 * unless for some reason this gets called inside a message that resets the 352 * unless for some reason this gets called inside a message that resets the
352 * locale. 353 * locale.
353 */ 354 */
354 static String getCurrentLocale() { 355 static String getCurrentLocale() {
355 if (defaultLocale == null) defaultLocale = systemLocale; 356 if (defaultLocale == null) defaultLocale = systemLocale;
356 return defaultLocale; 357 return defaultLocale;
357 } 358 }
358 359
359 toString() => "Intl($locale)"; 360 toString() => "Intl($locale)";
360 } 361 }
OLDNEW
« no previous file with comments | « no previous file | pkg/intl/lib/src/date_format_helpers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698