tzset.c File Reference

Go to the source code of this file.

Defines

#define IS_LEAP_YEAR(year)   ( (year & 3) == 0 )
#define DAY_MILLISEC   (24L * 60L * 60L * 1000L)

Functions

int _isindst (tm *tb)

Variables

int _daylight = 1
 Used to control daylight conversions.
long _dstbias = -1 * 60L * 60L
 Difference between standard and daylight savings time in seconds.
long _timezone = 5L * 60L * 60L
 Defines your local timezone.


Define Documentation

#define IS_LEAP_YEAR ( year   )     ( (year & 3) == 0 )

Definition at line 73 of file tzset.c.

#define DAY_MILLISEC   (24L * 60L * 60L * 1000L)

Definition at line 74 of file tzset.c.


Function Documentation

int _isindst ( tm tb  ) 

Definition at line 165 of file tzset.c.

References _daylight, _tm::tm_hour, _tm::tm_min, _tm::tm_sec, _tm::tm_yday, and _tm::tm_year.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/