src/Marando/AstroDate/Epoch.php
public static function dt(AstroDate $dt) {
    $epoch     = new static($dt->toTT()->toJD());
    $epoch->dt = $dt->copy();

    return $epoch;
  }
public static function dt(AstroDate $dt) {
    $epoch     = new static($dt->toTT()->toJD());
    $epoch->dt = $dt->copy();

    return $epoch;
  }
Creates a new Epoch instance from an AstroDate instance

@param  AstroDate $dt AstroDate instance
@return static