[Telepathy-commits] [telepathy-spec/master] Add Unix_Timestamp64 type

Simon McVittie simon.mcvittie at collabora.co.uk
Fri Aug 29 06:33:11 PDT 2008


---
 spec/generic-types.xml |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/spec/generic-types.xml b/spec/generic-types.xml
index ed9accd..f0801b4 100644
--- a/spec/generic-types.xml
+++ b/spec/generic-types.xml
@@ -2,7 +2,17 @@
   xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
   <tp:simple-type name="Unix_Timestamp" type="u">
-    <tp:docstring>An unsigned 32-bit integer representing time since 1970</tp:docstring>
+    <tp:docstring>An unsigned 32-bit integer representing time since
+      the Unix epoch (1970-01-01T00:00:00Z)</tp:docstring>
+  </tp:simple-type>
+
+  <tp:simple-type name="Unix_Timestamp64" type="t">
+    <tp:docstring>An unsigned 64-bit integer representing time since
+      the Unix epoch (1970-01-01T00:00:00Z)</tp:docstring>
+
+    <tp:rationale>The Text interface is the only user of Unix_Timestamp so
+      far, and we'd like to be Y2038 compatible in future
+      interfaces.</tp:rationale>
   </tp:simple-type>
 
   <tp:simple-type name="DBus_Bus_Name" type="s">
-- 
1.5.6.3




More information about the Telepathy-commits mailing list