getSunriseAndSunset

external fun getSunriseAndSunset(coords: Coordinates, refTime: Time? = null): Pair<Time, Time>?

Get the sunrise & sunset for the specified reference date and WGS position. If no time is provided then the device time is used.

Return

a pair with sunrise and sunset, first is sunrise, second is sunset