ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From T E Schmitz <mail...@numerixtechnology.de>
Subject Re: AW: extract file date in a given format
Date Fri, 05 Jan 2007 20:31:40 GMT
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


Mime
View raw message