[][src]Function avr_libc::daylight_seconds

pub unsafe extern "C" fn daylight_seconds(timer: *const time_t) -> i32

Computes the amount of time the sun is above the horizon, at the location of the observer.

NOTE: At observer locations inside a polar circle, this value can be zero during the winter, and can exceed ONE_DAY during the summer.

The returned value is in seconds.