Dear all,
I have just noticed that in the dADL part of the ADL spec it says that
partial date/times are expressed in a form using "??" characters rather
than the standard ISO8601 format, which is to simply leave out missing
parts. E.g. april 1954 is 1954-04 in ISO8601, but the dADL spec
currently says it should be 1954-04-??. While I wish the ISO8601
standard was like this, it is not, and in fact in our Eiffel parser, we
have implemented the standard. We can't handle just a year or just an
hour, since these get confused with integers (which is the original
reason for making dADL deviate from ISO8601). But realistically, will
there be many instances where only a year or only an hour is needed
(there might be - I don't really know..... - Sam - any comments?).
reason for making dADL deviate from ISO8601). But realistically, will
there be many instances where only a year or only an hour is needed
(there might be - I don't really know..... - Sam - any comments?).
I would say, for research purposes, when only the year of birth is needed to
know
Dear all,
I have just noticed that in the dADL part of the ADL spec it says that
partial date/times are expressed in a form using "??" characters rather
than the standard ISO8601 format, which is to simply leave out missing
parts. E.g. april 1954 is 1954-04 in ISO8601, but the dADL spec
currently says it should be 1954-04-??. While I wish the ISO8601
standard was like this, it is not, and in fact in our Eiffel parser, we
have implemented the standard. We can't handle just a year or just an
hour, since these get confused with integers (which is the original
reason for making dADL deviate from ISO8601). But realistically, will
there be many instances where only a year or only an hour is needed
(there might be - I don't really know..... - Sam - any comments?).
Rong, what did you implement in the Java parser?
According to the ADL spec I think. See examples from test adl file.