Duration?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Duration?

Alan Wostenberg-3
Having a need for date-time arithmatic and timezone adjustments, the
new Duraiton and UCT conversion methods look like the ticket. Only
they are stubbed out. Is Duration available now, or should I do
something quick & dirty?

-Alan Wostenberg, Baan, Colorado


Reply | Threaded
Open this post in threaded view
|

Re: Duration?

Ian Bartholomew-5
Alan,

> Having a need for date-time arithmatic and timezone adjustments, the
> new Duraiton and UCT conversion methods look like the ticket. Only
> they are stubbed out. Is Duration available now, or should I do
> something quick & dirty?

A couple of months ago, in a burst of enthusiasm, I implemented and verified
(with Richard Harmon's valuable assistance) some classes that implemented
the ANSI spec for DateAndTime and Duration.  Something else came up and I
have never got around to finishing off the job - mainly adding all the
ancillary classes and methods to do things like converting to/from String
and the existing Date/Time.

There are still some issues with my implementation (mainly to do with
TimeZone names which, I think, cannot be implemented in the way ANSI
defines) but I've uploaded the files to my web site anyway so that they are
available, as a starting point if nothing else, for anyone who wants them.

Regards
    Ian

http://www.iandb.org.uk


Reply | Threaded
Open this post in threaded view
|

Re: Duration?

Richard A. Harmon
Hi Alan:

On Wed, 19 Sep 2001 09:14:16 +0100, "Ian Bartholomew"
<[hidden email]> wrote:

>Alan,
>
>> Having a need for date-time arithmatic and timezone adjustments, the
>> new Duraiton and UCT conversion methods look like the ticket. Only
>> they are stubbed out. Is Duration available now, or should I do
>> something quick & dirty?
>
>A couple of months ago, in a burst of enthusiasm, I implemented and verified
>(with Richard Harmon's valuable assistance) some classes that implemented
>the ANSI spec for DateAndTime and Duration.

And a very nice implementation it is--less filling and tastes great.
Seriously, it works well--recommended.


>  Something else came up and I
>have never got around to finishing off the job - mainly adding all the
>ancillary classes and methods to do things like converting to/from String
>and the existing Date/Time.

I meant to get back to Ian and ask if he intended to release it.

Ian, did I mention I added a couple of methods to convert to, from,
SYSTEMTIME?


>There are still some issues with my implementation (mainly to do with
>TimeZone names which, I think, cannot be implemented in the way ANSI
>defines)

An ancillary issue I think and only a minor limitation.

> but I've uploaded the files to my web site anyway so that they are
>available, as a starting point if nothing else, for anyone who wants them.

Terrific.  Thanks


--
Richard A. Harmon          "The only good zombie is a dead zombie"
[hidden email]           E. G. McCarthy


Reply | Threaded
Open this post in threaded view
|

Re: Duration?

Alan Wostenberg-3
In reply to this post by Ian Bartholomew-5
"Ian Bartholomew" <[hidden email]> wrote in message news:<WHYp7.19703$NE.1332315@wards>...

> A couple of months ago, in a burst of enthusiasm, I implemented and verified
> (with Richard Harmon's valuable assistance) some classes that implemented
> the ANSI spec for DateAndTime and Duration.  Something else came up and I
> have never got around to finishing off the job - mainly adding all the
> ancillary classes and methods to do things like converting to/from String
> and the existing Date/Time.

Yessir.. Duration and an amazing collection of stuff your
http://www.iandb.org.uk/tweaks.htm ! Thanks, I'll pass along any work
I do on it.

It's good to see the Dolphin community producing goodies like the
VisualWorks.

Is there a central opensource collection like
http://www.sourceforge.net/ ?
-Alan


Reply | Threaded
Open this post in threaded view
|

Re: Duration?

Ian Bartholomew-5
In reply to this post by Richard A. Harmon
Richard,

> Ian, did I mention I added a couple of methods to convert to, from,
> SYSTEMTIME?

Not that I recall, but it is some time since we corresponded on the subject
(my fault, sorry!!)  If you mail them to me I can include them in the
package - assuming that's OK with you.  The same goes for anyone else who
wants to contribute?

Regards
    Ian


Reply | Threaded
Open this post in threaded view
|

Re: Duration?

Ian Bartholomew-5
In reply to this post by Alan Wostenberg-3
Alan,

> Is there a central opensource collection like
> http://www.sourceforge.net/ ?

Not as such. However, Alain Fischer has made a good attempt at collecting
together links to all known Dolphin related pages, which is a good starting
point.

http://mypage.bluewin.ch/a.fischer/dolphinResource.html

I'm sure he will be interested in being told of any new links ...

Regards
    Ian