commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: svn commit: r1647798 - /commons/proper/compress/trunk/src/test/java/org/apache/commons/compress/archivers/zip/ZipUtilTest.java
Date Fri, 26 Dec 2014 19:07:39 GMT
On 2014-12-24, <krosenvold@apache.org> wrote:

> It seems like OpenJDK calendar operations are somewhat different from
> sun jdk, so this is not a viable test to make

Actually the reason is that zips - at least those created by Commons
Compress - store time in UTC and you need to adjust for the offset of
your local time zone when using the toDosTime version that accepts a
long argument.

Cheers

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message