The javadoc for FastDatePrinter states:
"Starting with JDK7, ISO 8601 support was added using the pattern 'X'. To 
maintain compatibility, 'ZZ'will continue to be supported, but using one of the 
'X' formats is recommended."

Chas

> On Mar 31, 2017, at 5:38 AM, Hyukjin Kwon <gurwls...@gmail.com> wrote:
> 
> 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.

Reply via email to