double function ( double arg0 ) { double loc0 = 2440587.5 ; double loc1 = 1000 * 60 * 60 * 24 ; return ( ( arg0 / loc1 ) + loc0 - 2451545 ) / 36525 ; }
calculate the number of julian centuries since j2000 . for more explanation about epoch julian day . http://www.giss.nasa.gov/tools/mars24/help/algorithm.html concode_field_sep PlaceHolder placeHolder concode_field_sep double sunGeometricMeanAnomaly concode_elem_sep double sunApparentLongitude concode_elem_sep double meanObliquityOfEcliptic concode_elem_sep double sunGeometricMeanLongitude concode_elem_sep double sunTrueLongitude concode_elem_sep double calculateSunDeclination concode_elem_sep double sunEquationOfCenter concode_elem_sep double obliquityCorrected concode_elem_sep double calculateEquationOfTime concode_elem_sep double eccentricityEarthOrbit