You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2004/08/26 04:40:03 UTC

[lang] Release Was: ArrayUtils.add methods

Currently the only thing holding the release up for me is
DurationFormatUtils.

I'm going to push Entities back unless someone steps in as it's not
something I have any kind of itch for.

I attended a presentation by Stuart Halloway (wrote a good classloading
book), in which he showed a Factory class which he wished was in
java.lang. I need to submit it for opinions soon.

Saturday for me is to work on DurationFormat and try and steal enough from
JODA and figure out exactly what is needed to finish it off. I'm mainly
viewing that it needs a pattern language; "hh:mm:ss" etc.

Hen

On Wed, 25 Aug 2004, Gary Gregory wrote:

> WRT on the wiki:
>
> # [WWW]26056 [lang] Add methods to ArrayUtils: add at end and
> insert-like ops - DONE - add(Object[], Object) is overloaded for all the
> primitives, but add(Object[], int, Object) and addAll(Object[],
> Object[]) are not overloaded for primitives. Should they be?
>
> I say: release early, release often ;-) a la XP.
>
> This item should not hold up a release.
>
> Gary
>
>
> ---------------------------------------------------------------------
> 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


Re: [lang] Release 2.1 (1)

Posted by Henri Yandell <ba...@generationjava.com>.
And I'll do a JDiff on Saturday.

On Fri, 27 Aug 2004, Henri Yandell wrote:

>
> I just committed an implementation for DurationFormatUtils.
>
> My target is to keep it at a stupid level. We should have a comment
> directing people to JODA for more complicated or detailed needs.
>
> There are two decisions I've made which are probably bad. A year is 365
> days (and ignores the leap stuff) and a month is a year / 12. I've no idea
> what the ISO concept is for durations for these periods. Probably it means
> dealing with real dates and not milliseconds, so beyond the scope of Lang.
>
> Next step for me is to add unit tests for the new underlying format
> method. I reimplemented the existing methods in terms of it, so used their
> tests to drive me.
>
> Most of the new parts aren't public, so I haven't javadoc'd those parts
> yet. I have switched DurationFormatUtils to being a public class however.
>
> Hen
>
> (mental note for self..move the token-values into the Token class. Too
> late to do it right now)
>
> On Thu, 26 Aug 2004, Stephen Colebourne wrote:
>
> > From: "Henri Yandell" <ba...@generationjava.com>
> > > Saturday for me is to work on DurationFormat and try and steal enough from
> > > JODA and figure out exactly what is needed to finish it off. I'm mainly
> > > viewing that it needs a pattern language; "hh:mm:ss" etc.
> >
> > I'm still working on getting the joda version working fully, and its very
> > big and complex. So, DurationFormatUtils may be quite a big task.
> >
> >
> > Do we have a jdiff of all the methods added/removed in this release?
> >
> > Stephen
> >
> >
> > ---------------------------------------------------------------------
> > 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


Re: [lang] Release 2.1 (1)

Posted by Henri Yandell <ba...@generationjava.com>.
I just committed an implementation for DurationFormatUtils.

My target is to keep it at a stupid level. We should have a comment
directing people to JODA for more complicated or detailed needs.

There are two decisions I've made which are probably bad. A year is 365
days (and ignores the leap stuff) and a month is a year / 12. I've no idea
what the ISO concept is for durations for these periods. Probably it means
dealing with real dates and not milliseconds, so beyond the scope of Lang.

Next step for me is to add unit tests for the new underlying format
method. I reimplemented the existing methods in terms of it, so used their
tests to drive me.

Most of the new parts aren't public, so I haven't javadoc'd those parts
yet. I have switched DurationFormatUtils to being a public class however.

Hen

(mental note for self..move the token-values into the Token class. Too
late to do it right now)

On Thu, 26 Aug 2004, Stephen Colebourne wrote:

> From: "Henri Yandell" <ba...@generationjava.com>
> > Saturday for me is to work on DurationFormat and try and steal enough from
> > JODA and figure out exactly what is needed to finish it off. I'm mainly
> > viewing that it needs a pattern language; "hh:mm:ss" etc.
>
> I'm still working on getting the joda version working fully, and its very
> big and complex. So, DurationFormatUtils may be quite a big task.
>
>
> Do we have a jdiff of all the methods added/removed in this release?
>
> Stephen
>
>
> ---------------------------------------------------------------------
> 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


Re: [lang] Release 2.1 (1)

Posted by Stephen Colebourne <sc...@btopenworld.com>.
From: "Henri Yandell" <ba...@generationjava.com>
> Saturday for me is to work on DurationFormat and try and steal enough from
> JODA and figure out exactly what is needed to finish it off. I'm mainly
> viewing that it needs a pattern language; "hh:mm:ss" etc.

I'm still working on getting the joda version working fully, and its very
big and complex. So, DurationFormatUtils may be quite a big task.


Do we have a jdiff of all the methods added/removed in this release?

Stephen


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