about summary refs log tree commit diff
path: root/lri-proto/proto/time_stamp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'lri-proto/proto/time_stamp.proto')
-rw-r--r--lri-proto/proto/time_stamp.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/lri-proto/proto/time_stamp.proto b/lri-proto/proto/time_stamp.proto
new file mode 100644
index 0000000..238eebe
--- /dev/null
+++ b/lri-proto/proto/time_stamp.proto
@@ -0,0 +1,13 @@
+syntax = "proto2";
+
+package ltpb;
+
+message TimeStamp {
+    required uint32 year = 1;
+    required uint32 month = 2;
+    required uint32 day = 3;
+    required uint32 hour = 4;
+    required uint32 minute = 5;
+    required uint32 second = 6;
+    optional sint32 tz_offset = 7;
+}