コード例 #1
0
ファイル: timeStamp.py プロジェクト: shengb/masarService
 def toSeconds(self):
     """Return a float that is the number of seconds past the Epoch."""
     value = float(timeStampPy._getSeconds(self.cppPvt))
     nano = float(timeStampPy._getNano(self.cppPvt))
     value += nano / 1e9
     return value
コード例 #2
0
 def toSeconds(self):
     """Return a float that is the number of seconds past the Epoch."""
     value = float(timeStampPy._getSeconds(self.cppPvt))
     nano = float(timeStampPy._getNano(self.cppPvt))
     value += nano / 1e9
     return value
コード例 #3
0
ファイル: timeStamp.py プロジェクト: shengb/masarService
 def getNanoseconds(self):
     """Get the number of nanoseconds within the second as an int."""
     return timeStampPy._getNano(self.cppPvt)
コード例 #4
0
 def getNanoSeconds(self):
     """Get the number of nanoSeconds within the second as an int."""
     return timeStampPy._getNano(self.cppPvt)