php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
parse_posix.c File Reference
#include "timelib.h"
#include "timelib_private.h"

Go to the source code of this file.

Functions

void timelib_posix_str_dtor (timelib_posix_str *ps)
 
timelib_posix_strtimelib_parse_posix_str (const char *posix)
 
timelib_sll timelib_ts_at_start_of_year (timelib_sll year)
 
void timelib_get_transitions_for_year (timelib_tzinfo *tz, timelib_sll year, timelib_posix_transitions *transitions)
 
ttinfotimelib_fetch_posix_timezone_offset (timelib_tzinfo *tz, timelib_sll ts, timelib_sll *transition_time)
 

Function Documentation

◆ timelib_fetch_posix_timezone_offset()

ttinfo * timelib_fetch_posix_timezone_offset ( timelib_tzinfo * tz,
timelib_sll ts,
timelib_sll * transition_time )

Definition at line 531 of file parse_posix.c.

◆ timelib_get_transitions_for_year()

void timelib_get_transitions_for_year ( timelib_tzinfo * tz,
timelib_sll year,
timelib_posix_transitions * transitions )

Calculate the two yearly to/from DST

Definition at line 500 of file parse_posix.c.

◆ timelib_parse_posix_str()

timelib_posix_str * timelib_parse_posix_str ( const char * posix)

Definition at line 323 of file parse_posix.c.

◆ timelib_posix_str_dtor()

void timelib_posix_str_dtor ( timelib_posix_str * ps)

Definition at line 305 of file parse_posix.c.

◆ timelib_ts_at_start_of_year()

timelib_sll timelib_ts_at_start_of_year ( timelib_sll year)

Definition at line 488 of file parse_posix.c.