diff options
| author | Joachim Sauer <jsauer@google.com> | 2016-07-25 18:31:52 +0100 |
|---|---|---|
| committer | Joachim Sauer <jsauer@google.com> | 2016-08-09 11:19:48 +0100 |
| commit | 91116215bcb3e903fc334eaf23898b0d8ece6924 (patch) | |
| tree | 1dc74c534b6c5292dac739a8d11928aa2d0c9936 /include/ScopedJavaUnicodeString.h | |
| parent | fcca575b80c45d7812df3ac7e5d7b0c72544049e (diff) | |
Fix standalone weekday parsing.
Parsing standalone weekdays ('cccc') was treated the same way as
"regular" weekdays ('EEEE') since N.
This ensures that the correct names are used for parsing. This bug
doesn't have any effect in most locales, as most either don't have a
separate standalone version of the weekday or they only differ in
casing.
Also added a test for formatting standalone weekdays. It wasn't broken
but also wasn't tested before.
Change-Id: Ia3bd2832d1c33c37de5c0a640f7e8344d9bc009c
Tested: libcore/run-libcore-tests libcore.java.text.SimpleDateFormatTest
org.apache.harmony.tests.java.text.SimpleDateFormatTest
Bug: 30323478
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
