Gammu internals  1.38.0
gammu-datetime.h File Reference
#include <time.h>
#include <gammu-error.h>
#include <gammu-statemachine.h>
Include dependency graph for gammu-datetime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GSM_DateTime
 
struct  GSM_DeltaTime
 

Functions

char * DayOfWeek (unsigned int year, unsigned int month, unsigned int day)
 
void GSM_GetCurrentDateTime (GSM_DateTime *Date)
 
time_t Fill_Time_T (GSM_DateTime DT)
 
int GSM_GetLocalTimezoneOffset (void)
 
void Fill_GSM_DateTime (GSM_DateTime *Date, time_t timet)
 
void GSM_DateTimeFromTimestamp (GSM_DateTime *Date, const char *str)
 
void GSM_DateTimeToTimestamp (GSM_DateTime *Date, char *str)
 
char * OSDateTime (GSM_DateTime dt, gboolean TimeZone)
 
char * OSDate (GSM_DateTime dt)
 
gboolean CheckDate (GSM_DateTime *date)
 
gboolean CheckTime (GSM_DateTime *date)
 
GSM_Error GSM_GetDateTime (GSM_StateMachine *s, GSM_DateTime *date_time)
 
GSM_Error GSM_SetDateTime (GSM_StateMachine *s, GSM_DateTime *date_time)
 

Detailed Description

Author
Michal Čihař

Date and time manipulations.

Definition in file gammu-datetime.h.