We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static func julianDay(_ date: Date) -> Double
static func julianDay(_ date: Date) -> Double { return (date.timeIntervalSince1970 * 1000) / (1000 * 60 * 60 * 24) - 0.5 + 2440588 }
The text was updated successfully, but these errors were encountered:
Preferred to keep more-complicated method, but removed the rounding down to 4 places
Decided to refactor it to since it gets rid of the final fatalError
fatalError
Sorry, something went wrong.
mannylopez
Successfully merging a pull request may close this issue.
static func julianDay(_ date: Date) -> Double
to be more preciseThe text was updated successfully, but these errors were encountered: