summaryrefslogtreecommitdiffstats
path: root/org/madore/ephem/Ephem.java
blob: 380835c18497be9314fd45f7a9b1801a3e19b95e (plain)
1
2
3
4
5
6
7
8
9
10
package org.madore.ephem;

public final class Ephem {

    public static double fromJD(double jd) {
	// Convert Julian date to Julian centuries from J2000
	return (jd-2451545)/36525;
    }

}