isNight

external fun isNight(coords: Coordinates, refTime: Time? = null): Boolean

Check if it is night at the specified coordinated and time. If no time is provided then the device time is used.

Parameters

coords

WGS Coordinates

refTime

Reference time