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 double
Arcseconds to degreesstatic double
static double
Astronomical units to kilometresstatic double
Days to millisecondsstatic double
Days to nanosecondsstatic double
Days to secondsstatic double
Degrees to arcsecondsstatic double
static double
Hours to millisecondsstatic double
Hours to secondsstatic double
Kilometres to astronomical unitsstatic double
Kilometers to light yearsstatic double
Kilometres to parsecsstatic double
Light years to kilometersstatic double
Metres to parsecsstatic double
static double
static double
static double
Minutes to secondsstatic double
Milliseconds to daysstatic double
Milliseconds to hoursstatic double
Milliseconds to yearstatic double
Nanoseconds to daysstatic double
Parsecs to kilometresstatic double
Parsecs to metresstatic double
static double
Seconds to daysstatic double
Seconds to hoursstatic double
Seconds to millisecondsstatic double
Seconds to yearsstatic double
Radians to degreesstatic double
Degrees to radiansstatic double
Years to millisecondsstatic double
Years to seconds -
Constructor Summary
-
Method Summary
-
Field Details
-
TO_RAD
public static final double TO_RADDegrees to radians- See Also:
- Constant Field Values
-
TO_DEG
public static final double TO_DEGRadians to degrees- See Also:
- Constant Field Values
-
DEG_TO_ARCSEC
public static final double DEG_TO_ARCSECDegrees to arcseconds- See Also:
- Constant Field Values
-
ARCSEC_TO_DEG
public static final double ARCSEC_TO_DEGArcseconds to degrees- See Also:
- Constant Field Values
-
ARCSEC_TO_RAD
public static final double ARCSEC_TO_RAD- See Also:
- Constant Field Values
-
DEG_TO_MILLARCSEC
public static final double DEG_TO_MILLARCSEC- See Also:
- Constant Field Values
-
MILLARCSEC_TO_DEG
public static final double MILLARCSEC_TO_DEG- See Also:
- Constant Field Values
-
RAD_TO_MILLARCSEC
public static final double RAD_TO_MILLARCSEC- See Also:
- Constant Field Values
-
MILLARCSEC_TO_RAD
public static final double MILLARCSEC_TO_RAD- See Also:
- Constant Field Values
-
MILLIARCSEC_TO_ARCSEC
public static final double MILLIARCSEC_TO_ARCSEC- See Also:
- Constant Field Values
-
PC_TO_KM
public static final double PC_TO_KMParsecs to kilometres- See Also:
- Constant Field Values
-
KM_TO_PC
public static final double KM_TO_PCKilometres to parsecs- See Also:
- Constant Field Values
-
PC_TO_M
public static final double PC_TO_MParsecs to metres- See Also:
- Constant Field Values
-
M_TO_PC
public static final double M_TO_PCMetres to parsecs- See Also:
- Constant Field Values
-
AU_TO_KM
public static final double AU_TO_KMAstronomical units to kilometres- See Also:
- Constant Field Values
-
KM_TO_AU
public static final double KM_TO_AUKilometres to astronomical units- See Also:
- Constant Field Values
-
LY_TO_KM
public static final double LY_TO_KMLight years to kilometers- See Also:
- Constant Field Values
-
KM_TO_LY
public static final double KM_TO_LYKilometers to light years- See Also:
- Constant Field Values
-
S_TO_MS
public static final double S_TO_MSSeconds to milliseconds- See Also:
- Constant Field Values
-
H_TO_S
public static final double H_TO_SHours to seconds- See Also:
- Constant Field Values
-
S_TO_H
public static final double S_TO_HSeconds to hours- See Also:
- Constant Field Values
-
H_TO_MS
public static final double H_TO_MSHours to milliseconds- See Also:
- Constant Field Values
-
MS_TO_H
public static final double MS_TO_HMilliseconds to hours- See Also:
- Constant Field Values
-
D_TO_S
public static final double D_TO_SDays to seconds- See Also:
- Constant Field Values
-
S_TO_D
public static final double S_TO_DSeconds to days- See Also:
- Constant Field Values
-
D_TO_MS
public static final double D_TO_MSDays to milliseconds- See Also:
- Constant Field Values
-
MS_TO_D
public static final double MS_TO_DMilliseconds to days- See Also:
- Constant Field Values
-
D_TO_NS
public static final double D_TO_NSDays to nanoseconds- See Also:
- Constant Field Values
-
NS_TO_D
public static final double NS_TO_DNanoseconds to days- See Also:
- Constant Field Values
-
Y_TO_S
public static final double Y_TO_SYears to seconds- See Also:
- Constant Field Values
-
S_TO_Y
public static final double S_TO_YSeconds to years- See Also:
- Constant Field Values
-
Y_TO_MS
public static final double Y_TO_MSYears to milliseconds- See Also:
- Constant Field Values
-
MS_TO_Y
public static final double MS_TO_YMilliseconds to year- See Also:
- Constant Field Values
-
MIN_TO_S
public static final double MIN_TO_SMinutes to seconds- See Also:
- Constant Field Values
-
-
Constructor Details
-
Nature
public Nature()
-