commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adrian.c...@yahoo.com>
Subject RE: [LANG] Question about V3
Date Tue, 13 Apr 2010 18:52:30 GMT
I agree with the concept - there needs to be a better way to work with dates/times. Two things
concern me about it: it re-invents the wheel - ICU4J already has a good selection of calendars
that are compatible with java.util.Calendar, and it bases its design on a data-interchange
format (a bad idea IMO).

The same end result could be achieved with a lot less code by writing thin wrappers around
existing classes to make date/time handling more fluent.

That's my opinion anyway.

I have some POC code I can submit to Jira. It's flexible enough to wrap the standard java.util
classes, or ICU4J classes, or Joda Time classes - users can choose their flavor. The advantage
to having code like that in Lang is it gives you the ability to construct useful ratio types,
like MPH, $/HR, Hertz, etc.

-Adrian


--- On Tue, 4/13/10, Gary Gregory <GGregory@seagullsoftware.com> wrote:
> I hope you chime in to Joda-Time to
> make it better since the lead developer is working on the
> new date time APIs for Java 7.
> 
> Gary Gregory
> Senior Software Engineer
> Seagull Software
> email: ggregory@seagullsoftware.com
> email: ggregory@apache.org
> www.seagullsoftware.com 
> 
> 
> 
> > -----Original Message-----
> > From: Adrian Crum [mailto:adrian.crum@yahoo.com]
> > Sent: Tuesday, April 13, 2010 11:21
> > To: Commons Developers List
> > Subject: RE: [LANG] Question about V3
> > 
> > I'm not a big fan of Joda Time.
> > 
> > -Adrian
> > 
> > --- On Tue, 4/13/10, Gary Gregory <GGregory@seagullsoftware.com>
> wrote:
> > 
> > > From: Gary Gregory <GGregory@seagullsoftware.com>
> > > Subject: RE: [LANG] Question about V3
> > > To: "Commons Developers List" <dev@commons.apache.org>
> > > Date: Tuesday, April 13, 2010, 6:27 AM
> > > Hi Adrian,
> > >
> > > For date and time utilities I have been
> advocating the use
> > > of Joda-Time [1] over [lang].
> > >
> > > [1] http://joda-time.sourceforge.net/
> > >
> > > Gary Gregory
> > > Senior Software Engineer
> > > Seagull Software
> > > email: ggregory@seagullsoftware.com
> > > email: ggregory@apache.org
> > > www.seagullsoftware.com
> > >
> > > > -----Original Message-----
> > > > From: Adrian Crum [mailto:adrian.crum@yahoo.com]
> > > > Sent: Tuesday, April 13, 2010 00:05
> > > > To: Commons Developers List
> > > > Subject: Re: [LANG] Question about V3
> > > >
> > > > Thanks Jörg!
> > > >
> > > > I have a patch that adds some value objects
> that make
> > > working with dates and
> > > > times easier. I will submit it to Jira as
> soon as it
> > > is back up.
> > > >
> > > > -Adrian
> > > >
> > > > --- On Mon, 4/12/10, Jörg Schaible <joerg.schaible@gmx.de>
> > > wrote:
> > > >
> > > > > From: Jörg Schaible <joerg.schaible@gmx.de>
> > > > > Subject: Re: [LANG] Question about V3
> > > > > To: dev@commons.apache.org
> > > > > Date: Monday, April 12, 2010, 11:48 PM
> > > > > Hi Adrian,
> > > > >
> > > > > Adrian Crum wrote at Monday, 12. April
> 2010
> > > 18:20:
> > > > >
> > > > > > I'm looking at a recent trunk
> checkout of
> > > lang, and it
> > > > > looks like some
> > > > > > code exists for a forthcoming
> version 3. Is
> > > that
> > > > > correct?
> > > > >
> > > > > Yes.
> > > > >
> > > > > > If so, is there
> > > > > > a proposed release date?
> > > > >
> > > > > Probably this year ;-)
> > > > >
> > > > > - Jörg
> > > > >
> > > > >
> > > > >
> > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > > > For additional commands, e-mail: dev-help@commons.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > > For additional commands, e-mail: dev-help@commons.apache.org
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > > For additional commands, e-mail: dev-help@commons.apache.org
> > >
> > >
> > 
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 


      

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


Mime
View raw message