def getDatetime(self):
     """
     Create modification date as Unicode string, may raise ValueError.
     """
     timestamp = self.getOctal("mtime")
     return timestampUNIX(timestamp)
示例#2
0
 def createTimestampValue(self):
     return timestampUNIX(self["value"].value)
示例#3
0
文件: tar.py 项目: 070499/Sick-Beard
 def getDatetime(self):
     """
     Create modification date as Unicode string, may raise ValueError.
     """
     timestamp = self.getOctal("mtime")
     return timestampUNIX(timestamp)
示例#4
0
 def createValueDate(self):
     value = (self["timestamp_microsec"].value * 0.001) \
         - (self["timestamp_sec"].value * 60)
     return timestampUNIX(value)
示例#5
0
 def createTimestampValue(self):
     return timestampUNIX(self["value"].value)