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

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

Issue 10866003: add comments for dart:io and dart:intl library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « lib/compiler/implementation/lib/io.dart ('k') | no next file » | 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 /**
6 * Internationalization object providing access to message formatting objects,
7 * date formatting, parsing, bidirectional text relative to a specific locale.
8 */
5 #library('intl'); 9 #library('intl');
6 10
7 #import('dart:web'); 11 #import('dart:web');
8 12
9 #import('date_format.dart'); 13 #import('date_format.dart');
10 #source('intl_message.dart'); 14 #source('intl_message.dart');
11 #source('bidi_formatter.dart'); 15 #source('bidi_formatter.dart');
12 #source('bidi_utils.dart'); 16 #source('bidi_utils.dart');
13 17
14 /**
15 * Internationalization object providing access to message formatting objects,
16 * date formatting, parsing, bidirectional text relative to a specific locale.
17 */
18
19 class Intl { 18 class Intl {
20 /** 19 /**
21 * String indicating the locale code with which the message is to be 20 * String indicating the locale code with which the message is to be
22 * formatted (such as en-CA). 21 * formatted (such as en-CA).
23 */ 22 */
24 static String _locale; 23 static String _locale;
25 24
26 IntlMessage intlMsg; 25 IntlMessage intlMsg;
27 26
28 /** 27 /**
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 178
180 /** 179 /**
181 * Accessor for the current locale. This should always == the default locale, 180 * Accessor for the current locale. This should always == the default locale,
182 * unless for some reason this gets called inside a message that resets the 181 * unless for some reason this gets called inside a message that resets the
183 * locale. 182 * locale.
184 */ 183 */
185 static String getCurrentLocale() { 184 static String getCurrentLocale() {
186 return _locale; 185 return _locale;
187 } 186 }
188 } 187 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/lib/io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698