mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
664fe171c6
This adds code to parse and use the information from the pattern string used to create a NumberFormat. It adds tests taken from the Closure tests and also tests comparing a simple format to the ICU output for a large set of locales. In addition it has changes to - part number_format.dart in intl.dart rather than having it as a separate library - Update the algorithm to incorporate some additions in Closure - Allow setting a few of the internal parameters, which the Closure tests wanted to use - Add named constructors for the standard formats, e.g. DECIMAL_FORMAT - Access _defaultLocale consistently via the getCurrentLocale() method rather than directly, so it can never be uninitialized. - Regenerated the locale data Review URL: https://codereview.chromium.org//13814018 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21166 260f80e4-7a28-3924-810f-c04153c831b5 |
||
---|---|---|
.. | ||
analyzer_experimental | ||
args | ||
browser | ||
expect | ||
fixnum | ||
http | ||
intl | ||
logging | ||
meta | ||
oauth2 | ||
pathos | ||
scheduled_test | ||
serialization | ||
source_maps | ||
stack_trace | ||
unittest | ||
webdriver | ||
yaml | ||
.gitignore | ||
pkg.gyp | ||
pkg.status |