|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.n52.operation.cropmodeling.TimeTools
public class TimeTools
Class with static functions related to time calculations
Constructor Summary | |
---|---|
protected |
TimeTools()
|
Method Summary | |
---|---|
static double |
getDayLength(com.vividsolutions.jts.geom.Coordinate coord,
JulianTime time)
calculates the length of the day for this JulianTime taking the latitude into account |
static JulianTime |
getSunRiseToday(com.vividsolutions.jts.geom.Coordinate coord,
JulianTime time)
Calculate the sunrise time (in UTC) at a specific location. |
static JulianTime |
getSunSetToday(com.vividsolutions.jts.geom.Coordinate coord,
JulianTime time)
Calculate the sunset time (in UTC) at a specific location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TimeTools()
Method Detail |
---|
public static JulianTime getSunRiseToday(com.vividsolutions.jts.geom.Coordinate coord, JulianTime time)
coord
- the locationtime
- the juliant time
public static JulianTime getSunSetToday(com.vividsolutions.jts.geom.Coordinate coord, JulianTime time)
coord
- the locationtime
- the juliant time
public static double getDayLength(com.vividsolutions.jts.geom.Coordinate coord, JulianTime time)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |