users@jaxb.java.net

Re: Better xs:duration support?

From: Malachi de AElfweald <malachi_at_EOTI.ORG>
Date: Wed, 23 Jul 2003 13:05:57 -0600

On Tue, 15 Jul 2003 17:22:44 -0700, Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM> wrote:

>If you have any requirements on the duration support (e.g., how does
>your program manipulate durations?), please let us know.

I am using it to specify a repeating interval. Basically, I have a dateTime for "start" (which comes in as a Calendar object), and a duration for "repeat". So, I think a long works best for my case as well... Then I could use the Calendar's add function, or use the Timer's scheduling.

Malachi