commit | bf098bb6345b0917d645d809f4d703e6a0c904f4 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Mon Jul 21 18:06:02 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Tue Jul 22 12:16:28 2014 +0100 |
tree | 0cd642ed10a21791d01f730a18910006f634f35b | |
parent | 749935fc9575be6411967d37ae6c938b4ff5bea5 [diff] |
Implement Locale.forLanguageTag in java. This prevents us from having to parse ICU locale IDs or construct them in java. Note that the changes to LocaleTest bring us in line with the spec (some of the previous tests demonstrated wonky ICU4C behaviour we didn't want). This change includes a minor fix to unicode extension parsing, we now accept keywords with empty values which the spec allows. bug: 15661724 bug: 15849709 Change-Id: If9417ab4cb545fdb8b9a0a47a7eade6ebbe33ba8