mbgtools-lx  4.2.8

Time zone / daylight saving parameters. More...

#include <gpsdefs.h>

Data Fields

int32_t offs
 standard offset from UTC to local time [sec] More...
 
int32_t offs_dl
 additional offset if daylight saving enabled [sec] More...
 
TM_GPS tm_on
 date/time when daylight saving starts More...
 
TM_GPS tm_off
 date/time when daylight saving ends More...
 
TZ_NAME name [2]
 names without and with daylight saving enabled More...
 

Detailed Description

Time zone / daylight saving parameters.

This structure is used to specify how a device converts on-board UTC to local time, including computation of beginning and end of daylight saving time (DST), if required.

Note
The TZDL structure contains members of type TM_GPS to specify the times for beginning and end of DST. However, the TM_GPS::frac, TM_GPS::offs_from_utc, and TM_GPS::status fields of these TZDL::tm_on and TZDL::tm_off members are ignored for the conversion to local time, and thus should be 0.

Definition at line 2940 of file gpsdefs.h.

Field Documentation

◆ name

TZ_NAME TZDL::name[2]

names without and with daylight saving enabled

Definition at line 2946 of file gpsdefs.h.

◆ offs

int32_t TZDL::offs

standard offset from UTC to local time [sec]

Definition at line 2942 of file gpsdefs.h.

Referenced by set_tzdl_offs(), and show_tzdl_offs().

◆ offs_dl

int32_t TZDL::offs_dl

additional offset if daylight saving enabled [sec]

Definition at line 2943 of file gpsdefs.h.

◆ tm_off

TM_GPS TZDL::tm_off

date/time when daylight saving ends

Definition at line 2945 of file gpsdefs.h.

◆ tm_on

TM_GPS TZDL::tm_on

date/time when daylight saving starts

Definition at line 2944 of file gpsdefs.h.


The documentation for this struct was generated from the following file: