]> granicus.if.org Git - icu/commit
ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.
authorFredrik Roubert <roubert@google.com>
Fri, 13 Feb 2015 18:20:21 +0000 (18:20 +0000)
committerFredrik Roubert <roubert@google.com>
Fri, 13 Feb 2015 18:20:21 +0000 (18:20 +0000)
commit9aadd6b1e9200a0b28677e01a82358c0ed543a22
tree5e4c4f207783ebf91cb438585812c8813f41a04e
parente567f4ec73e788cb291c3e64b20db50bf87ab4d0
ICU-11467 Define the 'r' pattern char and the RELATED_YEAR field.

For compatibility with ICU4C, the RELATED_YEAR field should be defined
as the field preceding the TIME_SEPARATOR field but by mistake support
for the TIME_SEPARATOR field has already been implemented in ICU4J
without first defining the RELATED_YEAR field.

This change therefore reorders the existing TIME_SEPARATOR field and
adds definitions (without any underlying implementation) for the 'r'
pattern char and the RELATED_YEAR field.

R=markus.icu@gmail.com,pedberg@apple.com

Review URL: https://codereview.appspot.com/198460043

X-SVN-Rev: 37032
icu4j/main/classes/core/src/com/ibm/icu/text/DateFormat.java
icu4j/main/classes/core/src/com/ibm/icu/text/DateFormatSymbols.java
icu4j/main/classes/core/src/com/ibm/icu/text/SimpleDateFormat.java
icu4j/main/classes/core/src/com/ibm/icu/util/Calendar.java
icu4j/main/classes/core/src/com/ibm/icu/util/GregorianCalendar.java
icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/DateFormatTest.java