[Libreoffice-commits] .: src/xlsrecord.py
Kohei Yoshida
kohei at kemper.freedesktop.org
Fri Feb 10 16:16:15 PST 2012
src/xlsrecord.py | 11 +++++++++++
1 file changed, 11 insertions(+)
New commits:
commit 312d0fcaa9f106fa55ae6d4480e8ab482eef7a2a
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date: Fri Feb 10 19:16:07 2012 -0500
Handler for SXDtr is now complete.
diff --git a/src/xlsrecord.py b/src/xlsrecord.py
index c162d1c..f433f6c 100644
--- a/src/xlsrecord.py
+++ b/src/xlsrecord.py
@@ -2920,9 +2920,20 @@ class SXDtr(BaseRecordHandler):
self.yr = self.readUnsignedInt(2)
self.mon = self.readUnsignedInt(2)
self.dom = self.readUnsignedInt(1)
+ self.hr = self.readUnsignedInt(1)
+ self.min = self.readUnsignedInt(1)
+ self.sec = self.readUnsignedInt(1)
def parseBytes (self):
self.__parseBytes()
+ self.appendLine("year (1900-9999) : %d"%self.yr)
+ self.appendLine("month (1-12) : %d"%self.mon)
+ self.appendLine("day of month (0-31) : %d"%self.dom)
+ self.appendLine("hour (0-23) : %d"%self.hr)
+ self.appendLine("minutes (0-59) : %d"%self.min)
+ self.appendLine("seconds (0-59) : %d"%self.sec)
+ self.appendLine("")
+ self.appendMultiLine("The month value must be 1 if the day of month value is 0.")
class SXFDBType(BaseRecordHandler):
More information about the Libreoffice-commits
mailing list