ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <stev...@iseran.com>
Subject Re: Timestamp attribute processing
Date Tue, 02 Sep 2003 21:19:53 GMT
Ken Gentle wrote:
> At 12:56 PM 9/2/2003, you wrote:
> 
>> Steve Cohen wrote:
>>
>>> Hmm, that's weaker than I would have expected.  If I'd like something 
>>> a little better, is your recommendation then to add to DateUtils?
>>
>>
>> I guess it is time for a date type. I imagine taking 
>> java.util.Calendar as a param would be a nice way to map it (or Date, 
>> though that one's lack of timezones is an eternal source of trouble in 
>> the SOAP world)
> 
> 
> SOAP and everywhere an application may span timezones.

> Anyway, I'd suggest be very cautious about introducing general date 
> processing in ant that would allow arbitrary date formats, as opposed to 
> one or two formats per locale, or a single ISO style format 
> "yyyy-MM-ddTHH:mm:ss.SSS" (I think that one is legal, I don't have the 
> spec in front of me).

I agree, with the caveat that the 'T' is so vague; there is nowhere in 
the ISO spec to say 'dont know the timezone', which is why I use time_t 
in GMT as the sole time specifier in my soap systems


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


Mime
View raw message