Get the direction of the sunlight at a specified location and time
specified time in Date
specified longitude in degree
specified latitude in degree
Get the direction of the sunlight at a specified time and east position
specified hour in [ 0.0 ~ 24.0 ], can use 'dateToHours' to convert from a Date
sunrise hour in [ 0.0 ~ 24.0 ], can use 'dateToHours' to convert from a Date
sunset hour in [ 0.0 ~ 24.0 ], can use 'dateToHours' to convert from a Date
specified east position
Get the direction of sunlight
Export
Param: timeOrDate
time or Date
Param: sunriseOrLongitude
sunrise hour or longitude
Param: sunsetorLatitude
sunset hour or latitude
Param: eastPosition
east position
Returns