Hi,
In ADL is possible to defineDate-Time pattern: yyyy-??-??T??:??:??
But there is no way, in the current DvDateTime to instantiate a class
with a string conform this ADL - spec.
I wonder if this is an error?
Thanks
Bert Verhees
Hi,
In ADL is possible to defineDate-Time pattern: yyyy-??-??T??:??:??
But there is no way, in the current DvDateTime to instantiate a class
with a string conform this ADL - spec.
I wonder if this is an error?
Thanks
Bert Verhees
I must express myself more clearly.
I mean, according to the ADL-spec this would make a great DateTime:
"2003" or should I write "2003T", the spec is not clear about that.
But a DateTime like those examples cannot be instantiated.
Is the ADL-spec wrong or is the Java-Reference-Model implemented wrong?
Thanks again
Bert
Op 24-09-10 13:29, Bert Verhees schreef:
The ISO 8601 spec requires the ‘T’ only if there is a time part.

Thanks, Thomas,
But my problem was that a DvDateTime cannot be constructed with “2003T” as string in the constructor, while it is possible to define a datetime-constrain like that.
Maybe this is a Java-specific problem.
Bert
Op 13-10-10 13:46, Thomas Beale schreef: