[Seaside] Re: Time Zone Point of Curiosity

Philippe Marschall philippe.marschall at gmail.com
Mon Dec 18 09:19:52 UTC 2006


2006/12/17, Alan Lovejoy <architect at chronos-st.org>:
> Philippe Marschall <philippe.marschall <at> gmail.com> writes:
> > Hi
> >
> > Sorry for hijacking this thread but I have a Chronos question:
> > Is there a way to create ScientificDuration from a String?
> > I'm talking about a round trip like
> > Timepoint readFrom: Timepoint now printString readStream
> > for ScientificDuration durations.
> >
> > Cheers
> > Philippe
> >
>
> Unfortunately, not yet.  There is code that almost does that, but not quite.
> That code creates a TimeOfDay from a String: "ChronosParser default
> nextTimeOfDayFrom: '23:59:59' readStream."
>
> I will be releasing a new version of Chronos that will implement parsing for
> ScientificDurations and CivilDurations. At least initially, I will probably
> only support the ANSI format for ScientificDurations ("202:14:07:22.105538")
> and the ISO8601 format for CivilDurations ("202d14h7m22.105538s".)

This is good news. I'm looking for ward to this version.

Cheers
Philippe


More information about the Seaside mailing list