|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stellarium.astro.Misc
class Misc
Constructor Summary | |
---|---|
Misc()
|
Method Summary | |
---|---|
(package private) static double
|
getMeanObliquity(double t)
The obliquity formula (and all the magic numbers below) come from Meeus, Astro Algorithms. |
(package private) static double
|
rangeDegrees(double d)
puts a large angle in the correct range 0 - 360 degrees |
(package private) static double
|
rangeRadians(double r)
puts a large angle in the correct range 0 - 2PI radians |
(package private) static java.util.Date
|
strToDate(java.lang.String s1,
java.lang.String s2)
Obtains a ln_date from 2 strings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
Misc()
Method Detail |
---|
static double rangeDegrees(double d)
static double rangeRadians(double r)
static double getMeanObliquity(double t)
t
- Time in julian day. Valid range is the years -8000 to +12000 (t = -100 to 100).
static java.util.Date strToDate(java.lang.String s1, java.lang.String s2)
s1
- date with the form dd/mm/yyyy
s2
- time with the form hh:mm:ss.s
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |