Java Julian Date julianCentury(double JD)

Here you can find the source of julianCentury(double JD)

Description

Julian century from the epoch.

License

Open Source License

Parameter

Parameter Description
JD the julian day

Return

the julian century from the epoch

Declaration

static double julianCentury(double JD) 

Method Source Code

//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;
    }
}

Related

  1. julian(int date)
  2. julianCentury(double julianDay)
  3. julianDate2JDN(int year, int month, int day)
  4. julianDay(int day, int month, int year)
  5. julianDay(int YY, int MM, int DD)