Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 20397 invoked from network); 17 Dec 2002 15:13:31 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 17 Dec 2002 15:13:31 -0000 Received: (qmail 17806 invoked by uid 97); 17 Dec 2002 15:14:33 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 17642 invoked by uid 97); 17 Dec 2002 15:14:32 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 17548 invoked by uid 98); 17 Dec 2002 15:14:31 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Tue, 17 Dec 2002 10:12:08 -0500 (EST) From: Henri Yandell X-X-Sender: To: Jakarta Commons Developers List Subject: Re: [lang] Has anyone thought about a TimeUtils package? In-Reply-To: <3DFF3DDA.6000702@schof.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Tue, 17 Dec 2002, Sean Schofield wrote: > > I took a quick look at Joda's date parser and saw it has its own > > engine. > > > > I believe the commons one should lean onto the syntax of the java's, > > such that should allow it as a bug free plug-in replacement of Sun's. > > > > > What do others think? > > I agree. I don't think we want to write a new DateFormat from scratch. > Perhaps we can write our own class with synchronized methods that wraps > the existing SimpleDateFormat (just a thought.) Or maybe we can rip the > source from the JDK version and add the fixes there. Just to get it in quick. -1 to ripping source from the JDK. Licenses bite our arses too quickly when you get near here so it's not something ASF can do. > > I need to take a look at Ant's code. Maybe > > I'll take the leap and start a working bug free plug-in replacement > > of Sun's SimpleDateFormat if no one has taken the lead... > > We have already moved the ant code int the lang module of CVS (moved it > yesterday). Right now its identical to the Ant code. We're going to go > from there. A thread-safe DateFormat would probably be a good next > step. We're also trying to figure out what to do with CalendarUtils > which came from the sandbox. (See the recent email thread concerning > DateUtils for yesterday's discussion on this.) I'm starting to want a time sub-package as this gets larger :) Once it hits 3 classes or so. Hen -- To unsubscribe, e-mail: For additional commands, e-mail: