Package gaiasky.util
Class Nature
java.lang.Object
gaiasky.util.Nature
This class contains various unit conversion constants for
angles, distance and time units
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
Arc-seconds to degreesstatic final double
static final double
Astronomical units to kilometresstatic final double
Days to millisecondsstatic final double
Days to nanosecondsstatic final double
Days to secondsstatic final double
Degrees to arc-secondsstatic final double
static final double
Hours to millisecondsstatic final double
Hours to secondsstatic final double
Kilometres to astronomical unitsstatic final double
Kilometers to light yearsstatic final double
Kilometers to metresstatic final double
Kilometres to parsecsstatic final double
Light years to kilometersstatic final double
Metres to parsecsstatic final double
static final double
static final double
static final double
Minutes to secondsstatic final double
Milliseconds to daysstatic final double
Milliseconds to hoursstatic final double
Milliseconds to yearstatic final double
Nanoseconds to daysstatic final double
Parsecs to kilometresstatic final double
Parsecs to metresstatic final double
static final double
Seconds to daysstatic final double
Seconds to hoursstatic final double
Seconds to millisecondsstatic final double
Seconds to yearsstatic final double
Radians to degreesstatic final double
Degrees to radiansstatic final double
Years to millisecondsstatic final double
Years to seconds -
Constructor Summary
-
Method Summary
-
Field Details
-
TO_RAD
public static final double TO_RADDegrees to radians- See Also:
-
TO_DEG
public static final double TO_DEGRadians to degrees- See Also:
-
DEG_TO_ARCSEC
public static final double DEG_TO_ARCSECDegrees to arc-seconds- See Also:
-
ARCSEC_TO_DEG
public static final double ARCSEC_TO_DEGArc-seconds to degrees- See Also:
-
ARCSEC_TO_RAD
public static final double ARCSEC_TO_RAD- See Also:
-
DEG_TO_MILLARCSEC
public static final double DEG_TO_MILLARCSEC- See Also:
-
MILLARCSEC_TO_DEG
public static final double MILLARCSEC_TO_DEG- See Also:
-
RAD_TO_MILLARCSEC
public static final double RAD_TO_MILLARCSEC- See Also:
-
MILLARCSEC_TO_RAD
public static final double MILLARCSEC_TO_RAD- See Also:
-
MILLIARCSEC_TO_ARCSEC
public static final double MILLIARCSEC_TO_ARCSEC- See Also:
-
PC_TO_KM
public static final double PC_TO_KMParsecs to kilometres- See Also:
-
KM_TO_PC
public static final double KM_TO_PCKilometres to parsecs- See Also:
-
PC_TO_M
public static final double PC_TO_MParsecs to metres- See Also:
-
M_TO_PC
public static final double M_TO_PCMetres to parsecs- See Also:
-
AU_TO_KM
public static final double AU_TO_KMAstronomical units to kilometres- See Also:
-
KM_TO_AU
public static final double KM_TO_AUKilometres to astronomical units- See Also:
-
LY_TO_KM
public static final double LY_TO_KMLight years to kilometers- See Also:
-
KM_TO_LY
public static final double KM_TO_LYKilometers to light years- See Also:
-
KM_TO_M
public static final double KM_TO_MKilometers to metres- See Also:
-
S_TO_MS
public static final double S_TO_MSSeconds to milliseconds- See Also:
-
H_TO_S
public static final double H_TO_SHours to seconds- See Also:
-
S_TO_H
public static final double S_TO_HSeconds to hours- See Also:
-
H_TO_MS
public static final double H_TO_MSHours to milliseconds- See Also:
-
MS_TO_H
public static final double MS_TO_HMilliseconds to hours- See Also:
-
D_TO_S
public static final double D_TO_SDays to seconds- See Also:
-
S_TO_D
public static final double S_TO_DSeconds to days- See Also:
-
D_TO_MS
public static final double D_TO_MSDays to milliseconds- See Also:
-
MS_TO_D
public static final double MS_TO_DMilliseconds to days- See Also:
-
D_TO_NS
public static final double D_TO_NSDays to nanoseconds- See Also:
-
NS_TO_D
public static final double NS_TO_DNanoseconds to days- See Also:
-
Y_TO_S
public static final double Y_TO_SYears to seconds- See Also:
-
S_TO_Y
public static final double S_TO_YSeconds to years- See Also:
-
Y_TO_MS
public static final double Y_TO_MSYears to milliseconds- See Also:
-
MS_TO_Y
public static final double MS_TO_YMilliseconds to year- See Also:
-
MIN_TO_S
public static final double MIN_TO_SMinutes to seconds- See Also:
-
-
Constructor Details
-
Nature
public Nature()
-