ostk.physics.time.Instant¶
- class Instant¶
Bases:
objectPoint in time.
Methods
Attributes
Get date-time.
Get Julian date.
Get leap second count.
Get Modified Julian date.
Check if instant is near another instant
Check if the instant is post-epoch (J2000).
Convert to string.
- GPS_epoch = <nanobind.nb_func object>¶
- J2000 = <nanobind.nb_func object>¶
- __add__¶
- date_time = <nanobind.nb_func object>¶
- get_modified_julian_date¶
Get Modified Julian date.
- Returns:
Modified Julian date.
- Return type:
- is_post_epoch¶
Check if the instant is post-epoch (J2000).
- Returns:
True if post-epoch.
- Return type:
- julian_date = <nanobind.nb_func object>¶
- modified_julian_date = <nanobind.nb_func object>¶
- now = <nanobind.nb_func object>¶
- parse = <nanobind.nb_func object>¶
- to_string¶
Convert to string.
- Parameters:
scale (Time.Scale) -- Time scale.
date_time_format (DateTime.Format) -- Date-time format.
- Returns:
String representation.
- Return type: