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