commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [lang] DateRange
Date Wed, 14 Jan 2004 22:20:25 GMT
The format package allows you to build up a relatively arbitrary output
format. Thus a Durations and DateTimes are both handled here with nice
builders to choose the output format. We haven't yet had enough user
requests to see if the API/format builders cover all the needs of users...

Stephen

From: "Gary Gregory" <ggregory@seagullsw.com>
> Joda-time looks very nice... Is there something in there that would let me
> do conversions from seconds as an int or long to a String, for example,
"20
> minutes, 10 seconds"?
>
> Thanks,
> Gary
>
> > -----Original Message-----
> > From: Stephen Colebourne [mailto:scolebourne@btopenworld.com]
> > Sent: Wednesday, January 14, 2004 13:51
> > To: Jakarta Commons Developers List
> > Subject: Re: [lang] DateRange
> >
> > No, the joda-time library aims to replace the JDK date handling
> > completely.
> > What [lang] should have is a simple date range based on the existing JDK
> > date code.
> >
> > But you might find the ideas/API design useful in joda-time
> >
> > Stephen
> >
> > From: "Fredrik Westermarck" <fredrik.westermarck@mdh.se>
> > > Stephen Colebourne wrote:
> > >
> > > > You might want to consider the API of the Duration/Interval classes
> > there as
> > > > part of this.
> > >
> > > Hi!
> > >
> > > Do you mean that you intend to donate the code of the Interval and
> > > Duration classes to commons-lang?
> > >
> > > Regards,
> > > Fredrik Westermarck
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: commons-dev-help@jakarta.apache.org
>


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


Mime
View raw message