Home » railML newsgroups » railml.common » compound values, notations
Correction: timeInstance meant dateTime [message #1001 is a reply to message #997] Mon, 29 September 2003 17:48 Go to previous message
Joachim Buechse is currently offline  Joachim Buechse
Messages: 8
Registered: September 2003
Junior Member
Sorry for answering to myself, I want to correct 2 misakes to avoid
confusion:

- there is no XMLSchema timeInstant type, the type I meant is dateTime
- dateTime does not NOT contain milliseconds

XMLSchema defines dateTime identical to ISO8601. dateTime and time allow
for the specification of a time zone, which makes them comparable (even
though they do not require it).

Examples:

2000-01-20T12:00:00 (no time zone, not comparable)
2000-01-20T12:00:00-13:00 (with time zone)
2000-01-20T12:00:00Z (notation for UTC ie +00:00)


The default XMLSchema types are defined and explained at:
http://www.w3.org/TR/xmlschema-2/

Deutsche Uebersetzung:
http://www.edition-w3c.de/TR/2001/REC-xmlschema-2-20010502/

Best regards,
Joachim

Joachim Buechse wrote:
> There are some predefined XSDSchema types expressing points in time (i.e
> a single unique point in stellar time) or recurring time (ie noon).
> Examples are time and timeInstant. Both use a time representation of
> hh:mm:ss.ddd where ddd are milliseconds.
 
Read Message
Read Message
Previous Topic: restrict data encoding UTF-8 or UTF-16
Next Topic: conductors/transmission lines
Goto Forum:
  


Current Time: Thu May 16 00:12:51 CEST 2024