[−][src]Function avr_libc::set_dst
pub unsafe extern "C" fn set_dst(
arg1: Option<unsafe extern "C" fn(arg1: *const time_t, arg2: *mut i32) -> i16>
)
Specify the Daylight Saving function.
The Daylight Saving function should examine its parameters to determine whether Daylight Saving is in effect, and return a value appropriate for tm_isdst.
Working examples for the USA and the EU are available..
\code #include <util/eu_dst.h>\endcode for the European Union, and \code #include <util/usa_dst.h>\endcode for the United States
If a Daylight Saving function is not specified, the system will ignore Daylight Saving.