Here you can find the source of julianCentury(double JD)
Parameter | Description |
---|---|
JD | the julian day |
static double julianCentury(double JD)
//package com.java2s; //License from project: Open Source License public class Main { /**/* w w w .j a v a2 s.c o m*/ * Julian century from the epoch. * @param JD the julian day * @return the julian century from the epoch */ static double julianCentury(double JD) { /* Equation from Astronomical Algorithms page 163 */ return (JD - 2451545.0) / 36525; } }