RE: Timestamp attribute processing

2003-09-03 Thread Steve Cohen
You can see the patch I submitted here: http://issues.apache.org/bugzilla/show_bug.cgi?id=20578 -Original Message- From: Ken Gentle [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 3:27 PM To: Ant Developers List Subject: RE: Timestamp attribute processing At 02:52 PM 9/2

Re: Timestamp attribute processing

2003-09-02 Thread Steve Loughran
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 b

RE: Timestamp attribute processing

2003-09-02 Thread Ken Gentle
ginal Message- From: Ken Gentle [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 1:35 PM To: Ant Developers List Subject: Re: Timestamp attribute processing 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

Re: Timestamp attribute processing

2003-09-02 Thread Antoine Levy-Lambert
Sounds good. Cheers, Antoine - Original Message - From: "Steve Cohen" <[EMAIL PROTECTED]> To: "Ant Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 8:52 PM Subject: RE: Timestamp attribute processing I appreciate what you are s

RE: Timestamp attribute processing

2003-09-02 Thread Steve Cohen
being passed to the task. And the "nested exception handler from hell" is only two levels deep. -Original Message- From: Ken Gentle [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 1:35 PM To: Ant Developers List Subject: Re: Timestamp attribute processing At 12:56 P

Re: Timestamp attribute processing

2003-09-02 Thread Ken Gentle
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

RE: Timestamp attribute processing

2003-09-02 Thread Steve Cohen
to the Starteam API. -Original Message- From: Steve Loughran [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 02, 2003 11:56 AM To: Ant Developers List Subject: Re: Timestamp attribute processing Steve Cohen wrote: ... > The StarTeam API uses something they call an OLEDate, which I&

Re: Timestamp attribute processing

2003-09-02 Thread Steve Loughran
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 l

RE: Timestamp attribute processing

2003-09-02 Thread Steve Cohen
e "right way". -Original Message- From: Stefan Bodewig [mailto:[EMAIL PROTECTED] Sent: Tue 9/2/2003 2:11 AM To: [EMAIL PROTECTED] Cc: Subject: Re: Timestamp attribute processing there also is a datetime attribute in . Would be nice to unify them - at l

Re: Timestamp attribute processing

2003-09-02 Thread Stefan Bodewig
On Mon, 1 Sep 2003, Steve Cohen <[EMAIL PROTECTED]> wrote: > I've put this logic into StarTeamCheckout, I'd say put it into DateUtils. > because DateUtils seems to have a somewhat different purpose (like > getPhaseOfMoon()??? :-) ) That's been fun to code. If you want to know why I've written

Re: Timestamp attribute processing

2003-09-02 Thread Stefan Bodewig
there also is a datetime attribute in . Would be nice to unify them - at least Java code wise. On Mon, 1 Sep 2003, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > (with a hardcoded US locale, looks like the europeans (continentals) > are not allowed to enter DD-MM- dates, MM-DD- is pre

RE: Timestamp attribute processing

2003-09-02 Thread Jan . Materne
ine > - Original Message - > From: "Steve Cohen" <[EMAIL PROTECTED]> > To: "Ant Developers List" <[EMAIL PROTECTED]> > Sent: Monday, September 01, 2003 10:27 PM > Subject: RE: Timestamp attribute processing > > > > Hmm, that'

RE: Timestamp attribute processing

2003-09-02 Thread Steve Cohen
eUtils but not modifying it. I could put SimpleDateFormat.parse() inside a wrapper, but that seems pointless. -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Mon 9/1/2003 6:12 PM To: Ant Developers List Cc: Subject: Re: Timestamp attribu

Re: Timestamp attribute processing

2003-09-01 Thread Antoine Levy-Lambert
f parse capability but if I rely on that then I run the risk of being out of synch with the rest of Ant. -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Mon 9/1/2003 3:15 PM To: Ant Developers List Cc: Subject: Re: Timestamp attribute processing - ther

RE: Timestamp attribute processing

2003-09-01 Thread Steve Cohen
sk of being out of synch with the rest of Ant. -Original Message- From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] Sent: Mon 9/1/2003 3:15 PM To: Ant Developers List Cc: Subject: Re: Timestamp attribute processing - there is a date selector with a method DateSelec

Re: Timestamp attribute processing

2003-09-01 Thread Antoine Levy-Lambert
- there is a date selector with a method DateSelector#setDateTime which contains parsing code (with a hardcoded US locale, looks like the europeans (continentals) are not allowed to enter DD-MM- dates, MM-DD- is preferred. - there is a DateUtils class in ant It has methods to format dates