Hi Steve,
I am in the CET (Central European) Timezone. It has a difference of 1 hour
with GMT AFAIK. I have taken this hour of difference already into account.
Anyway the point is : trying to set the last modified time of a file to
123456 millis after the epoch does not work on my computer.
The Microsoft SDK information says that Windows files have a date/time of
last modification calculated since January 1st, 1601. So it must be some JDK
implementation problem. Not very interesting anyway.
Antoine
----- Original Message -----
From: "Steve Loughran" <steve_l@iseran.com>
To: "Ant Developers List" <dev@ant.apache.org>
Sent: Monday, June 23, 2003 6:38 PM
Subject: Re: cvs commit: ant/src/testcases/org/apache/tools/ant/util
FileUtilsTest.java
> antoine@apache.org wrote:
>
> > Note :
> > I observed an error in the date/time returned by java and what I would
> > expect theoretically under Win 2000 and JDK 1.4.1_02
> > of 16,344,000 (16 millions of milliseconds), slightly
> > more than 4 and a half hours.
>
> really? what TZ are you in? Big deltas are usually timezone related.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
|