[Seaside] Re: Time Zone Point of Curiosity

Alan Lovejoy architect at chronos-st.org
Sun Dec 17 18:06:33 UTC 2006


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".)







More information about the Seaside mailing list