Back to index

php5  5.3.10
Classes | Defines | Typedefs
timelib_structs.h File Reference
#include "timelib_config.h"
#include <stdio.h>
#include <strings.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ttinfo
struct  tlinfo
struct  tlocinfo
struct  timelib_tzinfo
struct  timelib_special
struct  timelib_rel_time
struct  timelib_time_offset
struct  timelib_time
struct  timelib_error_message
struct  timelib_error_container
struct  _timelib_tz_lookup_table
struct  _timelib_tzdb_index_entry
struct  _timelib_tzdb

Defines

#define TIMELIB_LL_CONST(n)   n ## ll
#define TIMELIB_ZONETYPE_OFFSET   1
#define TIMELIB_ZONETYPE_ABBR   2
#define TIMELIB_ZONETYPE_ID   3
#define SECS_PER_ERA   TIMELIB_LL_CONST(12622780800)
#define SECS_PER_DAY   86400
#define DAYS_PER_YEAR   365
#define DAYS_PER_LYEAR   366
#define DAYS_PER_LYEAR_PERIOD   146097
#define YEARS_PER_LYEAR_PERIOD   400
#define timelib_is_leap(y)   ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0))
#define TIMELIB_DEBUG(s)   if (0) { s }

Typedefs

typedef unsigned long long timelib_ull
typedef signed long long timelib_sll
typedef struct ttinfo ttinfo
typedef struct tlinfo tlinfo
typedef struct tlocinfo tlocinfo
typedef struct timelib_tzinfo timelib_tzinfo
typedef struct timelib_special timelib_special
typedef struct timelib_rel_time timelib_rel_time
typedef struct timelib_time_offset timelib_time_offset
typedef struct timelib_time timelib_time
typedef struct
timelib_error_message 
timelib_error_message
typedef struct
timelib_error_container 
timelib_error_container
typedef struct
_timelib_tz_lookup_table 
timelib_tz_lookup_table
typedef struct
_timelib_tzdb_index_entry 
timelib_tzdb_index_entry
typedef struct _timelib_tzdb timelib_tzdb

Class Documentation

struct ttinfo

Definition at line 80 of file timelib_structs.h.

Class Members
unsigned int abbr_idx
int isdst
unsigned int isgmtcnt
unsigned int isstdcnt
int32_t offset
struct tlinfo

Definition at line 90 of file timelib_structs.h.

Class Members
int32_t offset
int32_t trans
struct tlocinfo

Definition at line 96 of file timelib_structs.h.

Class Members
char * comments
char country_code
double latitude
double longitude
struct timelib_tzinfo

Definition at line 104 of file timelib_structs.h.

Collaboration diagram for timelib_tzinfo:
Class Members
unsigned char bc
uint32_t charcnt
tlinfo * leap_times
uint32_t leapcnt
tlocinfo location
char * name
uint32_t timecnt
char * timezone_abbr
int32_t * trans
unsigned char * trans_idx
uint32_t ttisgmtcnt
uint32_t ttisstdcnt
ttinfo * type
uint32_t typecnt
struct timelib_special

Definition at line 125 of file timelib_structs.h.

Class Members
timelib_sll amount
unsigned int type
struct timelib_rel_time

Definition at line 130 of file timelib_structs.h.

Collaboration diagram for timelib_rel_time:
Class Members
timelib_sll d
timelib_sll days
int first_last_day_of
timelib_sll h
unsigned int have_special_relative
unsigned int have_weekday_relative
timelib_sll i
int invert
timelib_sll m
timelib_sll s
timelib_special special
int weekday
int weekday_behavior
timelib_sll y
struct timelib_time_offset

Definition at line 145 of file timelib_structs.h.

Class Members
char * abbr
unsigned int is_dst
unsigned int leap_secs
int32_t offset
timelib_sll transistion_time
struct timelib_time

Definition at line 153 of file timelib_structs.h.

Collaboration diagram for timelib_time:
Class Members
timelib_sll d
signed int dst
double f
timelib_sll h
unsigned int have_date
unsigned int have_relative
unsigned int have_time
unsigned int have_weeknr_day
unsigned int have_zone
timelib_sll i
unsigned int is_localtime
timelib_sll m
timelib_rel_time relative
timelib_sll s
timelib_sll sse
unsigned int sse_uptodate
unsigned int tim_uptodate
char * tz_abbr
timelib_tzinfo * tz_info
timelib_sll y
int z
unsigned int zone_type
struct timelib_error_message

Definition at line 175 of file timelib_structs.h.

Class Members
char character
char * message
int position
struct timelib_error_container

Definition at line 181 of file timelib_structs.h.

Collaboration diagram for timelib_error_container:
Class Members
int error_count
struct timelib_error_message * error_messages
int warning_count
struct timelib_error_message * warning_messages
struct _timelib_tz_lookup_table

Definition at line 188 of file timelib_structs.h.

Class Members
char * full_tz_name
float gmtoffset
char * name
int type
struct _timelib_tzdb_index_entry

Definition at line 195 of file timelib_structs.h.

Class Members
char * id
unsigned int pos
struct _timelib_tzdb

Definition at line 200 of file timelib_structs.h.

Collaboration diagram for _timelib_tzdb:
Class Members
const unsigned char * data
const timelib_tzdb_index_entry * index
int index_size
char * version

Define Documentation

#define DAYS_PER_LYEAR   366

Definition at line 214 of file timelib_structs.h.

#define DAYS_PER_LYEAR_PERIOD   146097

Definition at line 216 of file timelib_structs.h.

#define DAYS_PER_YEAR   365

Definition at line 213 of file timelib_structs.h.

#define SECS_PER_DAY   86400

Definition at line 212 of file timelib_structs.h.

#define SECS_PER_ERA   TIMELIB_LL_CONST(12622780800)

Definition at line 211 of file timelib_structs.h.

#define TIMELIB_DEBUG (   s)    if (0) { s }

Definition at line 221 of file timelib_structs.h.

#define timelib_is_leap (   y)    ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0))

Definition at line 219 of file timelib_structs.h.

#define TIMELIB_LL_CONST (   n)    n ## ll

Definition at line 77 of file timelib_structs.h.

#define TIMELIB_ZONETYPE_ABBR   2

Definition at line 208 of file timelib_structs.h.

#define TIMELIB_ZONETYPE_ID   3

Definition at line 209 of file timelib_structs.h.

#define TIMELIB_ZONETYPE_OFFSET   1

Definition at line 207 of file timelib_structs.h.

#define YEARS_PER_LYEAR_PERIOD   400

Definition at line 217 of file timelib_structs.h.


Typedef Documentation

typedef signed long long timelib_sll

Definition at line 76 of file timelib_structs.h.

typedef struct timelib_time timelib_time
typedef struct _timelib_tzdb timelib_tzdb
typedef unsigned long long timelib_ull

Definition at line 75 of file timelib_structs.h.

typedef struct tlinfo tlinfo
typedef struct tlocinfo tlocinfo
typedef struct ttinfo ttinfo