getUTCSunrise

fun getUTCSunrise(zenith: Double): Double

A method that returns the sunrise in UTC time without correction for time zone offset from GMT and without using daylight savings time.

Return

The time in the format: 18.75 for 18:45:00 UTC/GMT. If the calculation can't be computed such as in the Arctic Circle where there is at least one day a year where the sun does not rise, and one where it does not set, Double.NaN will be returned. See detailed explanation on top of the page.

Parameters

zenith

the degrees below the horizon. For time after sunrise use negative numbers.