79f03f9433865f1fc8fce926cbcfa3174f7b53b6 |
|
26-May-2016 |
Joachim Sauer <jsauer@google.com> |
Add a method to clear the cached default timezone. Adds clearCacheDefault() method that clears the cached timezone. This method is hidden from the public API and will only be used by java.util.TimeZone to ensure that ICU has the same view of what the default timezone is as java.util.TimeZone. This (together with the corresponding change in libcore) means that the calling android.icu.util.TimeZone.setDefault() with a value foo does not guarantee that the ICU default timezone after the call is equal to foo since the value will be conferted to a JDK-equivalent in ICU TimeZone.setDefault() and back to a ICU equivalent in ICU TimeZone.getDefault(). Both of these processes are potentially lossy. Background: When java.util.TimeZone.setDefault() is called (either by client code or from ActivityThread.updateTimeZone due to ACTION_TIMEZONE_CHANGED) we need to notify android.icu.util.TimeZone of this change, as it keeps a cached android.icu.util.TimeZone object to represent that default value. android.icu.util.TimeZone.setTimeZone would be the obvious candidate here. Unfortunately that method was hidden to have a single consistent way to set the timezone and tries to do some extra work that is undesireable on Android. Bug: 28949992 Change-Id: Id9edb80ff255bfac39e2fadcba829474352e4620
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|
bee65486a185907111f3be60992433e133ec0e32 |
|
26-Feb-2016 |
Scott Russell <scott_russell@us.ibm.com> |
Cherry-pick: ticket:12005: Fix numerous warnings / errors from Javadoc generation http://bugs.icu-project.org/trac/changeset/38385 Bug: 22023363 Change-Id: I9e32f4d800cf8997e820764ce920d119049b9506
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|
03f16b04d95bbaa98f702b69791b0de29ac75915 |
|
24-Feb-2016 |
Yoshito Umaoka <yoshito_umaoka@us.ibm.com> |
Cherry-pick: ticket:12003: Use more links to actual Java classes in ICU API doc. http://bugs.icu-project.org/trac/changeset/38348 Bug: 22023363 Change-Id: I25e9d414ce4669ec031b1c986558e29dcb4646f5
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|
f716bda031dccdec5e47bb40e758c5901d209729 |
|
18-Mar-2015 |
Fredrik Roubert <roubert@google.com> |
Copy ICU4J 55 RC from icu-project.org to aosp/icu55. These files were exported from the ICU Subversion repository by running the following command: svn export \ http://source.icu-project.org/repos/icu/icu4j/tags/release-55-rc/ icu4j Only the subdirectory "main" and the files in the root directory were added in this commit. The other subdirectories only contain files that are not relevant (demos, tools, etc.) when using ICU4J in Android. Change-Id: I85c57ab803e9e6d4775a1bff6edc5efa2b26f66d
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|
06a1e9d5ae75e348f8bb3c88b0dcbf57b9104c10 |
|
27-Jan-2015 |
Fredrik Roubert <roubert@google.com> |
Cherry-pick: ticket:11483: Canonicalize IDs for java.util.TimeZone.getTimeZone(). http://bugs.icu-project.org/trac/changeset/36988 Change-Id: I05dabac8f16b4bf6b9f7457bbf2fab70cf3bb9b2
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|
7935b1839a081ed19ae0d33029ad3c09632a2caa |
|
19-Nov-2014 |
Fredrik Roubert <roubert@google.com> |
Copy ICU4J 54 from icu-project.org to AOSP/master. These files were exported from the ICU Subversion repository by running the following command: svn export \ http://source.icu-project.org/repos/icu/icu4j/tags/release-54-1/ icu4j Only the subdirectory "main" and the files in the root directory were added in this commit. The other subdirectories only contain files that are not relevant (demos, tools, etc.) when using ICU4J in Android. Change-Id: I852d59c7d601d72e279c599b9f9e675cd3ef27b1
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/TimeZone.java
|