perfsonar-dev - nmwg: r271 - branches/owd/rnc
Subject: perfsonar development work
List archive
- From:
- To: ,
- Subject: nmwg: r271 - branches/owd/rnc
- Date: Mon, 17 Sep 2007 12:04:46 -0400
Author: boote
Date: 2007-09-17 12:04:46 -0400 (Mon, 17 Sep 2007)
New Revision: 271
Modified:
branches/owd/rnc/nmtime.rnc
Log:
Enumerating valid time 'types' in the rnc. (Also put some text to specify
the valid values given those types in comments. The information from
the comments is perhaps a reasonable start at some protocol documentation
for time specifics.)
Modified: branches/owd/rnc/nmtime.rnc
===================================================================
--- branches/owd/rnc/nmtime.rnc 2007-09-17 03:38:02 UTC (rev 270)
+++ branches/owd/rnc/nmtime.rnc 2007-09-17 16:04:46 UTC (rev 271)
@@ -39,11 +39,52 @@
#
# </nmtm:time>
#
+#
+# Time types are enumerated as follows:
+#
+# * unix: integral seconds since Jan 1, 1970 (UTC)
+#
+# * iso9601/rfc3339:
+#
+# full date/time representation. Examples from RFC-339:
+#
+# Here are some examples of Internet date/time format.
+#
+# 1985-04-12T23:20:50.52Z
+#
+# This represents 20 minutes and 50.52 seconds after the 23rd hour of
+# April 12th, 1985 in UTC.
+#
+# 1996-12-19T16:39:57-08:00
+#
+# This represents 39 minutes and 57 seconds after the 16th hour of
+# December 19th, 1996 with an offset of -08:00 from UTC (Pacific
+# Standard Time). Note that this is equivalent to
1996-12-20T00:39:57Z
+# in UTC.
+#
+# 1990-12-31T23:59:60Z
+#
+# This represents the leap second inserted at the end of 1990.
+#
+# 1990-12-31T15:59:60-08:00
+#
+# This represents the same leap second in Pacific Standard Time, 8
+# hours behind UTC.
+#
+# 1937-01-01T12:00:27.87+00:20
+#
+# This represents the same instant of time as noon, January 1, 1937,
+# Netherlands time. Standard time in the Netherlands was exactly 19
+# minutes and 32.13 seconds ahead of UTC by law from 1909-05-01
through
+# 1937-06-30. This time zone cannot be represented exactly using the
+# HH:MM format, and this timestamp uses the closest representable UTC
+# offset.
+#
# ##############################################################
Time =
element nmtm:time {
- attribute type { xsd:string } &
+ attribute type { "unix" | "iso8601" | "rfc3339"} &
Precision? &
(
TimeStamp |
- nmwg: r271 - branches/owd/rnc, svnlog, 09/17/2007
Archive powered by MHonArc 2.6.16.