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

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

Issue 11048027: Make the date formatting library visible in apidoc by merging it into Intl (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « pkg/intl/lib/date_symbol_data_local.dart ('k') | pkg/intl/lib/src/date_format_internal.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 * Internationalization object providing access to message formatting objects, 6 * Internationalization object providing access to message formatting objects,
7 * date formatting, parsing, bidirectional text relative to a specific locale. 7 * date formatting, parsing, bidirectional text relative to a specific locale.
8 */ 8 */
9 #library('intl'); 9 #library('intl');
10 10
11 #import('date_format.dart');
12 #import('src/intl_helpers.dart'); 11 #import('src/intl_helpers.dart');
12 #import('dart:math');
13 #import('date_symbols.dart');
14 #import('src/date_format_internal.dart');
13 15
16 #source('date_format.dart');
17 #source('src/date_format_field.dart');
18 #source('src/date_format_helpers.dart');
14 #source('bidi_formatter.dart'); 19 #source('bidi_formatter.dart');
15 #source('bidi_utils.dart'); 20 #source('bidi_utils.dart');
16 21
17 class Intl { 22 class Intl {
18 /** 23 /**
19 * String indicating the locale code with which the message is to be 24 * String indicating the locale code with which the message is to be
20 * formatted (such as en-CA). 25 * formatted (such as en-CA).
21 */ 26 */
22 String _locale; 27 String _locale;
23 28
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 /** 216 /**
212 * Initialize the message lookup mechanism. This is for internal use only. 217 * Initialize the message lookup mechanism. This is for internal use only.
213 * User applications should import message_lookup_local.dart and call 218 * User applications should import message_lookup_local.dart and call
214 * initializeMessages 219 * initializeMessages
215 */ 220 */
216 void initializeInternalMessageLookup(Function lookupFunction) { 221 void initializeInternalMessageLookup(Function lookupFunction) {
217 if (_messageLookup is UninitializedLocaleData) { 222 if (_messageLookup is UninitializedLocaleData) {
218 _messageLookup = lookupFunction(); 223 _messageLookup = lookupFunction();
219 } 224 }
220 } 225 }
OLDNEW
« no previous file with comments | « pkg/intl/lib/date_symbol_data_local.dart ('k') | pkg/intl/lib/src/date_format_internal.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698