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

Go to the source code of this file.

Functions

timelib_sll timelib_day_of_week (timelib_sll y, timelib_sll m, timelib_sll d)
 
timelib_sll timelib_iso_day_of_week (timelib_sll y, timelib_sll m, timelib_sll d)
 
timelib_sll timelib_day_of_year (timelib_sll y, timelib_sll m, timelib_sll d)
 
timelib_sll timelib_days_in_month (timelib_sll y, timelib_sll m)
 
void timelib_isoweek_from_date (timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iw, timelib_sll *iy)
 
void timelib_isodate_from_date (timelib_sll y, timelib_sll m, timelib_sll d, timelib_sll *iy, timelib_sll *iw, timelib_sll *id)
 
timelib_sll timelib_daynr_from_weeknr (timelib_sll iy, timelib_sll iw, timelib_sll id)
 
void timelib_date_from_isodate (timelib_sll iy, timelib_sll iw, timelib_sll id, timelib_sll *y, timelib_sll *m, timelib_sll *d)
 
int timelib_valid_time (timelib_sll h, timelib_sll i, timelib_sll s)
 
int timelib_valid_date (timelib_sll y, timelib_sll m, timelib_sll d)
 

Function Documentation

◆ timelib_date_from_isodate()

void timelib_date_from_isodate ( timelib_sll iy,
timelib_sll iw,
timelib_sll id,
timelib_sll * y,
timelib_sll * m,
timelib_sll * d )

Definition at line 160 of file dow.c.

◆ timelib_day_of_week()

timelib_sll timelib_day_of_week ( timelib_sll y,
timelib_sll m,
timelib_sll d )

Definition at line 67 of file dow.c.

◆ timelib_day_of_year()

timelib_sll timelib_day_of_year ( timelib_sll y,
timelib_sll m,
timelib_sll d )

Definition at line 83 of file dow.c.

◆ timelib_daynr_from_weeknr()

timelib_sll timelib_daynr_from_weeknr ( timelib_sll iy,
timelib_sll iw,
timelib_sll id )

Definition at line 147 of file dow.c.

◆ timelib_days_in_month()

timelib_sll timelib_days_in_month ( timelib_sll y,
timelib_sll m )

Definition at line 88 of file dow.c.

◆ timelib_iso_day_of_week()

timelib_sll timelib_iso_day_of_week ( timelib_sll y,
timelib_sll m,
timelib_sll d )

Definition at line 72 of file dow.c.

◆ timelib_isodate_from_date()

void timelib_isodate_from_date ( timelib_sll y,
timelib_sll m,
timelib_sll d,
timelib_sll * iy,
timelib_sll * iw,
timelib_sll * id )

Definition at line 141 of file dow.c.

◆ timelib_isoweek_from_date()

void timelib_isoweek_from_date ( timelib_sll y,
timelib_sll m,
timelib_sll d,
timelib_sll * iw,
timelib_sll * iy )

Definition at line 93 of file dow.c.

◆ timelib_valid_date()

int timelib_valid_date ( timelib_sll y,
timelib_sll m,
timelib_sll d )

Definition at line 203 of file dow.c.

◆ timelib_valid_time()

int timelib_valid_time ( timelib_sll h,
timelib_sll i,
timelib_sll s )

Definition at line 195 of file dow.c.