Java Julian Date julianCentury(double julianDay)

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

Description

julian Century

License

Apache License

Declaration

private static double julianCentury(double julianDay) 

Method Source Code

//package com.java2s;
/*// w w w. ja  va2  s .c  o m
 * Copyright 2010 Roger Kapsi
 *
 *   Licensed under the Apache License, Version 2.0 (the "License");
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 *   Unless required by applicable law or agreed to in writing, software
 *   distributed under the License is distributed on an "AS IS" BASIS,
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *   See the License for the specific language governing permissions and
 *   limitations under the License.
 */

public class Main {
    private static double julianCentury(double julianDay) {
        return ((julianDay - 2451545.0) / 36525.0);
    }
}

Related

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