commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henri Yandell <bay...@generationjava.com>
Subject Re: [lang] DateUtils
Date Tue, 17 Dec 2002 17:26:28 GMT


On Tue, 17 Dec 2002, Sean Schofield wrote:

> >
> >
> >>>To be honest, I'm not convinced we need two classes. DateUtils so far
> >>>looks like DateFormatUtils to me. If those methods were kept, they do make
> >>>more sense in CalendarUtils.
> >>>
> >>>Hen
> >>>
> >>>
> >>>
> >>What's DateFormatUtils?  Is this a proposed class or something that
> >>already exists?
> >>
> >>
> >
> >My fault. I meant, it seems concerned with DateFormats and not Dates.
> >
> >Hen
> >
> >
> Hen,
>
> Still a bit confused.  Are you saying that DateUtils (as it stands now
> in CVS) might be more appropriately named DateFormatUtils?  Or that it
> resembles java.text.DateFormat?

The former. I see very little in there [phase of moon aside] that isn't
really a wrapper around the DateFormat concept.

In fact, we should be suspicious of a DateUtils as java.util.Date is
really just a milli-second-based instant in time.

Hen


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


Mime
View raw message