FireBirdLib - Topfield TMS PVR TAP Programming Library
FBLib_time.h File Reference
#include "libFireBird.h"

Go to the source code of this file.

Data Structures

struct  TYPE_CRONTAB
 

Macros

#define MANUALDSTINI   "DST.ini"
 
#define MAX_CRON_EVENTS   10
 

Typedefs

typedef struct TYPE_CRONTAB TYPE_CRONTAB
 

Functions

void DST_GetDefaultDSTRule (void)
 
dword DST_GetNextTransition (byte ruleOrdinal, byte ruleDay, byte ruleMonth, byte ruleHour, byte ruleMin, word ruleYear)
 
void DST_ProcessRule (char *dstRule, dword *dstDate, dword StartDate)
 
void DST_GetTransitions_Manual (dword *DSTStartUTC, dword *DSTEndUTC)
 
void DST_GetTransitions_Europe (dword *DSTStartUTC, dword *DSTEndUTC, dword StartDate)
 

Variables

tDSTRule DSTRule
 
dword DSTStartUTCsaved
 
dword DSTEndUTCsaved
 
int cronItemCount
 
TYPE_CRONTAB cronTable [MAX_CRON_EVENTS]
 
bool cronInit
 

Macro Definition Documentation

◆ MANUALDSTINI

#define MANUALDSTINI   "DST.ini"

Definition at line 6 of file FBLib_time.h.

◆ MAX_CRON_EVENTS

#define MAX_CRON_EVENTS   10

Definition at line 25 of file FBLib_time.h.

Typedef Documentation

◆ TYPE_CRONTAB

typedef struct TYPE_CRONTAB TYPE_CRONTAB

Function Documentation

◆ DST_GetDefaultDSTRule()

◆ DST_GetNextTransition()

dword DST_GetNextTransition ( byte  ruleOrdinal,
byte  ruleDay,
byte  ruleMonth,
byte  ruleHour,
byte  ruleMin,
word  ruleYear 
)

Definition at line 3 of file DST_GetNextTransition.c.

References TRACEENTER, and TRACEEXIT.

Referenced by DST_CalcTransition().

◆ DST_GetTransitions_Europe()

void DST_GetTransitions_Europe ( dword *  DSTStartUTC,
dword *  DSTEndUTC,
dword  StartDate 
)

◆ DST_GetTransitions_Manual()

◆ DST_ProcessRule()

void DST_ProcessRule ( char *  dstRule,
dword *  dstDate,
dword  StartDate 
)

Definition at line 4 of file DST_ProcessRule.c.

References DST_CalcTransition(), TRACEENTER, and TRACEEXIT.

Referenced by DST_GetTransitions_Manual().

Variable Documentation

◆ cronInit

bool cronInit
extern

Definition at line 5 of file cronEventHandler.c.

Referenced by cronEventHandler().

◆ cronItemCount

int cronItemCount
extern

Definition at line 3 of file cronEventHandler.c.

Referenced by cronEventHandler().

◆ cronTable

TYPE_CRONTAB cronTable[MAX_CRON_EVENTS]
extern

Definition at line 4 of file cronEventHandler.c.

Referenced by cronEventHandler().

◆ DSTEndUTCsaved

dword DSTEndUTCsaved

Definition at line 9 of file FBLib_time.h.

◆ DSTRule

tDSTRule DSTRule
extern

◆ DSTStartUTCsaved

dword DSTStartUTCsaved
extern

Definition at line 4 of file DST_SetDSTRule.c.

Referenced by DST_GetTransitions_Manual().