is_daytime


Description:

public bool is_daytime ()

Parameters:

this

a Info

Returns:

Whether it is daytime (that is, if the sun is visible) or not at the location and the point of time referred by this. This is mostly equivalent to comparing the return value of get_value_sunrise and get_value_sunset, but it accounts also for midnight sun and polar night, for locations within the Artic and Antartic circles.