getTemporalHour

fun getTemporalHour(startOfday: <Error class: unknown class>?, endOfDay: <Error class: unknown class>?): Long

A utility method that will allow the calculation of a temporal (solar) hour based on the sunrise and sunset passed as parameters to this method. An example of the use of this method would be the calculation of a non-elevation adjusted temporal hour by passing in sea level sunrise and sea level sunset as parameters.

Return

the long millisecond length of the temporal hour. If the calculation can't be computed a Long.MIN_VALUE will be returned. See detailed explanation on top of the page.

Parameters

startOfday

The start of the day.

endOfDay

The end of the day.

See also