Re: status of ISO8601 date/time classes

Colin Paul Adams <colin-vnRo6g/[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
>>>>> "Eric" == Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> writes:

    Eric> Thomas Beale wrote:
    >> in the 3.4 release of gobo, there are ISO8601 parsing classes,
    >> mostly implemented. In the recent CVS copy I made, they seem to
    >> have been merged into XSD classes. What I am after is ISO
    >> 8601:2004 standard date/time parsing and conversion classes -
    >> does the library still contain such code? I have some of my own
    >> code, but you have written far more, and I would rather use it
    >> than write more of my own.

    Eric> In fact this is Colin who wrote these ISO parsing classes.
    Eric> If I remember correctly we decided to remove them from the
    Eric> Gobo package for the time being because they were not fully
    Eric> implemented and not really supported, causing extra
    Eric> maintenance burden when they would not compile because of
    Eric> modifications in other classes. At that time we said that
    Eric> the code was in the history of CVS anyway, so if someone one
    Eric> day would be interested in resurrecting these classes and
    Eric> take over their development and implementation it was still
    Eric> possible. If you are that someone, then I suggest that you
    Eric> talk with Colin about what was done and what needed to be
    Eric> improved or was left unimplemented.

Your memory is correct, Eric.

Some more information:
My need was that in order to implement XPath 2.0, I needed to support
XSD times, dates and durations. As these are almost, but not quite,
ISO 8601 compliant, I attempted to implement a single library with
configuration options. But this proved to be too complex (at least,
for me).

I didn't have a copy of ISO 8601:2004 (indeed, I have not heard of it
before seeing this message), but I guess that there won't be too many
differences.

I only went as far as implementing parsing for the short forms.
-- 
Colin Adams
Preston Lancashire


To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/gobo-eiffel/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.