|
Methods defined here:
- __init__(self)
- Constructor does not really initialize anything as this class has no
members and consists solely of static methods.
- duration2py(self, duration)
- Convert an ACS duration to a Python duration.
Parameters: duration is in units of 100 nanoseconds
Return: duration converted to seconds
Raises: Nothing
- epoch2py(self, epoch)
- Convert an ACS Epoch to a Python Epoch.
Parameters: epoch is the number of 100 nanoseconds that have passed since
October 15, 1582.
Return: epoch converted a Python Epoch (i.e., seconds that have passed
since January 1, 1970.)
Raises: Nothing
- py2duration(self, seconds)
- Convert seconds to 100 nanoseconds.
Parameters: seconds is the number of seconds to convert
Return: seconds converted to units of 100 nanoseconds packed into a
Duration struct.
Raises: Nothing
- py2epoch(self, seconds)
- Convert Python Epoch (i.e., seconds since 1/1/1970 to ACS
Epoch (i.e., 100 nanoseconds since 15/10/1582).
Parameters:
- seconds is the number of seconds that have passed
since January 1, 1970.
Return: seconds converted to units of 100 nanoseconds since
October 15, 1582 and packed into an acstime.Epoch struct.
Raises: Nothing
|