Arduino-RTC
Real-Time Clock (RTC) library for Arduino
set_dst.cpp File Reference
#include "time.h"
Include dependency graph for set_dst.cpp:

Go to the source code of this file.

Functions

void set_dst (int(*d)(const time_t *, int32_t *))
 

Variables

int(* __dst_ptr )(const time_t *, int32_t *)=0
 

Function Documentation

void set_dst ( int(*)(const time_t *, int32_t *)  )

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.

If a Daylight Saving function is not specified, the system will ignore Daylight Saving.

Definition at line 34 of file set_dst.cpp.

Variable Documentation

int(* __dst_ptr) (const time_t *, int32_t *)=0

Definition at line 31 of file set_dst.cpp.