Skip to content

Commit

Permalink
Make j2000 immutable (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbooth committed Jun 19, 2024
1 parent 1f2d4e3 commit 30414f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/JulianDayNumber/Date+JD.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// Copyright © 2021-2023 Stephen F. Booth <[email protected]>
// Copyright © 2021-2024 Stephen F. Booth <[email protected]>
// Part of https://github.com/sbooth/JulianDayNumber
// MIT license
//
Expand Down Expand Up @@ -48,5 +48,5 @@ extension Date {
/// | -- | --- | --- |
/// | TT | 2000-01-01 12:00:00 | 2451545.0 |
/// | UTC | 2000-01-01 11:58:55.816 | 2451544.9992571296 |
public static var j2000 = Date(julianDate: J2000JD_UTC)
public static let j2000 = Date(julianDate: J2000JD_UTC)
}

0 comments on commit 30414f4

Please sign in to comment.