mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 15:42:14 +00:00
ICU-22721 Fix trivial slip-up in ICU4J TimeZone.java
This commit is contained in:
parent
55c5895923
commit
e3e74bdd72
1 changed files with 1 additions and 1 deletions
|
@ -1191,7 +1191,7 @@ abstract public class TimeZone implements Serializable, Cloneable, Freezable<Tim
|
|||
*/
|
||||
public static String getIanaID(String id) {
|
||||
String ianaId = TimeZone.UNKNOWN_ZONE_ID;
|
||||
if (id == null || id.length() == 0 || id.equals(TimeZone.UNKNOWN_ZONE)) {
|
||||
if (id == null || id.length() == 0 || id.equals(TimeZone.UNKNOWN_ZONE_ID)) {
|
||||
return ianaId;
|
||||
}
|
||||
String tmpIanaId = ZoneMeta.getIanaID(id);
|
||||
|
|
Loading…
Add table
Reference in a new issue