pykep-core 0.1.1

Native Rust astrodynamics core for the pykep-rust port.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2026 pykep-rust contributors
// SPDX-License-Identifier: MPL-2.0

//! Epoch types and time-system conversions.
//!
//! ```
//! use pykep_core::time::epoch::Epoch;
//!
//! let epoch = Epoch::from_iso("2000-01-02T00:00:00")?;
//! assert_eq!(epoch.mjd2000(), 1.0);
//! assert_eq!(Epoch::from_iso(&epoch.to_string())?, epoch);
//! # Ok::<(), pykep_core::PykepError>(())
//! ```

/// Microsecond-resolution epochs and ISO calendar conversion.
pub mod epoch;
/// Scalar Julian date conversions.
pub mod julian;