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" <[EMAIL PROTECTED]>
> 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:[EMAIL PROTECTED]
> > 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" <[EMAIL PROTECTED]>
> > > 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: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to