summaryrefslogtreecommitdiffstats
path: root/org/madore/ephem/Ephem.java
diff options
context:
space:
mode:
Diffstat (limited to 'org/madore/ephem/Ephem.java')
-rw-r--r--org/madore/ephem/Ephem.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/org/madore/ephem/Ephem.java b/org/madore/ephem/Ephem.java
index 380835c..4afbc09 100644
--- a/org/madore/ephem/Ephem.java
+++ b/org/madore/ephem/Ephem.java
@@ -2,9 +2,11 @@ package org.madore.ephem;
public final class Ephem {
- public static double fromJD(double jd) {
+ public static double fromJd(double jd) {
// Convert Julian date to Julian centuries from J2000
return (jd-2451545)/36525;
}
+ public static final double auSeconds = 499.0047838362; // TDB seconds!
+
}