[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: AW: extract file date in a given format
From:       T E Schmitz <mailreg () numerixtechnology ! de>
Date:       2007-01-05 20:31:40
Message-ID: 459EB5AC.7040201 () numerixtechnology ! de
[Download RAW message or body]

T E Schmitz wrote:
> Jan.Materne@rzf.fin-nrw.de wrote:
> I tried :
>   l = new java.lang.Long (millis);
>   d = new java.util.Date(l);
> 
> This also results in a IllegalArgumentException when creating the Date.

What an idiot! It's got to be
d = new java.util.Date(l.longValue());
-- 


Regards/Gruß,

Tarlika Elisabeth Schmitz

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic