commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hyukjin Kwon <gurwls...@gmail.com>
Subject Confusion between 'ZZ' and 'XXX' timezone formats in FastDateFormat
Date Fri, 31 Mar 2017 12:38:34 GMT
Hi all,


I am trying to replace 'ZZ' time format to 'XXX' format to resolve an issue
in Apache Spark.

I looked at the codes related with this as below:

https://github.com/apache/commons-lang/blob/8767cd4f1a6af07093c1e6c422dae8e574be7e5e/src/main/java/org/apache/commons/lang3/time/FastDateParser.java#L930

https://github.com/apache/commons-lang/blob/8767cd4f1a6af07093c1e6c422dae8e574be7e5e/src/main/java/org/apache/commons/lang3/time/FastDateParser.java#L932-L951

https://github.com/apache/commons-lang/blob/8767cd4f1a6af07093c1e6c422dae8e574be7e5e/src/main/java/org/apache/commons/lang3/time/FastDateParser.java#L596-L601

Up to my tests and reading codes, it seems both are identical to me.

Is this true and would this be identical in the future too?

Or maybe is 'ZZ' going to be deprecated soon?

I appreciate if anyone could confirm this please.


Thank you in advance.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message