Malachi de AElfweald <malachi_at_EOTI.ORG> wrote:
> 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.
Sounds like what you really want is a function that adds a duration to a
calendar. That's good because it has a well-defined meaning (whereas
converting a duration to seconds is not.)
Thank you for the input.
regards,
--
Kohsuke Kawaguchi 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com