use crate::foundation::sealed::Sealed;
use crate::qtty::unit;
use super::time_format::TimeFormat;
#[derive(Debug, Copy, Clone)]
pub struct JD;
impl Sealed for JD {}
impl TimeFormat for JD {
type Unit = unit::Day;
const NAME: &'static str = "JD";
}
#[derive(Debug, Copy, Clone)]
pub struct MJD;
impl Sealed for MJD {}
impl TimeFormat for MJD {
type Unit = unit::Day;
const NAME: &'static str = "MJD";
}
#[derive(Debug, Copy, Clone)]
pub struct J2000s;
impl Sealed for J2000s {}
impl TimeFormat for J2000s {
type Unit = unit::Second;
const NAME: &'static str = "J2000s";
}
#[derive(Debug, Copy, Clone)]
pub struct Unix;
impl Sealed for Unix {}
impl TimeFormat for Unix {
type Unit = unit::Second;
const NAME: &'static str = "Unix";
}
#[derive(Debug, Copy, Clone)]
pub struct GPS;
impl Sealed for GPS {}
impl TimeFormat for GPS {
type Unit = unit::Second;
const NAME: &'static str = "GPS";
}