Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 42543 invoked from network); 2 Sep 2003 21:27:28 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Sep 2003 21:27:28 -0000 Received: (qmail 99963 invoked by uid 500); 2 Sep 2003 21:22:20 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 99776 invoked by uid 500); 2 Sep 2003 21:22:17 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 99519 invoked from network); 2 Sep 2003 21:22:14 -0000 Received: from unknown (HELO palrel13.hp.com) (156.153.255.238) by daedalus.apache.org with SMTP; 2 Sep 2003 21:22:14 -0000 Received: from gort.cv.hp.com (smtp1.cv.hp.com [15.0.200.101]) by palrel13.hp.com (Postfix) with ESMTP id C543A1C00B1D for ; Tue, 2 Sep 2003 14:22:17 -0700 (PDT) Received: from iseran.com (chamonix.cv.hp.com [15.87.26.62]) by gort.cv.hp.com (Postfix) with ESMTP id 02BDD201EF for ; Tue, 2 Sep 2003 14:35:17 -0700 (PDT) Message-ID: <3F550979.5020800@iseran.com> Date: Tue, 02 Sep 2003 14:19:53 -0700 From: Steve Loughran User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Timestamp attribute processing References: <5.2.1.1.0.20030902142805.02a6a008@mail.comcast.net> In-Reply-To: <5.2.1.1.0.20030902142805.02a6a008@mail.comcast.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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