public final class SunUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SunUtil.Twilight |
| Modifier and Type | Method and Description |
|---|---|
static com.github.davidmoten.grumpy.core.Position |
getSubSolarPoint()
Gets the position of the Sun right now.
|
static com.github.davidmoten.grumpy.core.Position |
getSubSolarPoint(Calendar time)
Returns the position on the Earth's surface for which the sun appears to
be straight above.
|
static SunUtil.Twilight |
getTwilight(double sunDistanceRadians)
Return the twilight condition for a point which is a given great circle
distance from the current sub solar point.
|
static SunUtil.Twilight |
getTwilight(com.github.davidmoten.grumpy.core.Position subSolarPoint,
com.github.davidmoten.grumpy.core.Position somePosition) |
public static SunUtil.Twilight getTwilight(double sunDistanceRadians)
sunDistanceRadians - - from the current positon to the sub solar pointpublic static SunUtil.Twilight getTwilight(com.github.davidmoten.grumpy.core.Position subSolarPoint, com.github.davidmoten.grumpy.core.Position somePosition)
public static com.github.davidmoten.grumpy.core.Position getSubSolarPoint()
public static com.github.davidmoten.grumpy.core.Position getSubSolarPoint(Calendar time)
time - Copyright © 2013–2021. All rights reserved.