Esempio n. 1
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
Esempio n. 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
Esempio n. 3
0
 def getNanoseconds(self):
     """Get the number of nanoseconds within the second as an int."""
     return timeStampPy._getNano(self.cppPvt)
Esempio n. 4
0
 def getNanoSeconds(self):
     """Get the number of nanoSeconds within the second as an int."""
     return timeStampPy._getNano(self.cppPvt)