Uses of Class
org.shredzone.commons.suncalc.util.JulianDate
Package
Description
This package contains internal utility methods.
-
Uses of JulianDate in org.shredzone.commons.suncalc.util
Modifier and TypeMethodDescriptionJulianDate.atHour
(double hour) Returns aJulianDate
of the current date and the given hour.JulianDate.atJulianCentury
(double jc) Returns aJulianDate
of the given Julian century.JulianDate.atModifiedJulianDate
(double mjd) Returns aJulianDate
of the given modified Julian date.BaseBuilder.getJulianDate()
Returns theJulianDate
to be used.Modifier and TypeMethodDescriptionstatic Matrix
ExtendedMath.equatorialToEcliptical
(JulianDate t) Creates a rotationalMatrix
for converting equatorial to ecliptical coordinates.static Vector
Moon.position
(JulianDate date) Calculates the geocentric position of the moon.static Vector
Sun.position
(JulianDate date) Calculates the geocentric position of the sun.static Vector
Moon.positionEquatorial
(JulianDate date) Calculates the equatorial position of the moon.static Vector
Sun.positionEquatorial
(JulianDate date) Calculates the equatorial position of the sun.static Vector
Moon.positionHorizontal
(JulianDate date, double lat, double lng) Calculates the horizontal position of the moon.static Vector
Sun.positionHorizontal
(JulianDate date, double lat, double lng) Calculates the horizontal position of the sun.