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

Go to the source code of this file.

Functions

void SdnToGregorian (zend_long sdn, int *pYear, int *pMonth, int *pDay)
 
zend_long GregorianToSdn (int year, int month, int day)
 
void SdnToJulian (zend_long sdn, int *pYear, int *pMonth, int *pDay)
 
zend_long JulianToSdn (int year, int month, int day)
 
void SdnToJewish (zend_long sdn, int *pYear, int *pMonth, int *pDay)
 
zend_long JewishToSdn (int year, int month, int day)
 
void SdnToFrench (zend_long sdn, int *pYear, int *pMonth, int *pDay)
 
zend_long FrenchToSdn (int inputYear, int inputMonth, int inputDay)
 
int DayOfWeek (zend_long sdn)
 

Variables

const char *const MonthNameShort [13]
 
const char *const MonthNameLong [13]
 
const char *const JewishMonthName [14]
 
const char *const JewishMonthNameLeap [14]
 
const char *const JewishMonthHebName [14]
 
const char *const JewishMonthHebNameLeap [14]
 
const int monthsPerYear [19]
 
const char *const FrenchMonthName [14]
 
const char *const DayNameShort [7]
 
const char *const DayNameLong [7]
 

Function Documentation

◆ DayOfWeek()

int DayOfWeek ( zend_long sdn)

Definition at line 33 of file dow.c.

◆ FrenchToSdn()

zend_long FrenchToSdn ( int inputYear,
int inputMonth,
int inputDay )

Definition at line 117 of file french.c.

◆ GregorianToSdn()

zend_long GregorianToSdn ( int year,
int month,
int day )

Definition at line 202 of file gregor.c.

◆ JewishToSdn()

zend_long JewishToSdn ( int year,
int month,
int day )

Definition at line 698 of file jewish.c.

◆ JulianToSdn()

zend_long JulianToSdn ( int year,
int month,
int day )

Definition at line 215 of file julian.c.

◆ SdnToFrench()

void SdnToFrench ( zend_long sdn,
int * pYear,
int * pMonth,
int * pDay )

Definition at line 95 of file french.c.

◆ SdnToGregorian()

void SdnToGregorian ( zend_long sdn,
int * pYear,
int * pMonth,
int * pDay )

Definition at line 137 of file gregor.c.

◆ SdnToJewish()

void SdnToJewish ( zend_long sdn,
int * pYear,
int * pMonth,
int * pDay )

Definition at line 559 of file jewish.c.

◆ SdnToJulian()

void SdnToJulian ( zend_long sdn,
int * pYear,
int * pMonth,
int * pDay )

Definition at line 155 of file julian.c.

Variable Documentation

◆ DayNameLong

const char* const DayNameLong[7]
extern

Definition at line 50 of file dow.c.

◆ DayNameShort

const char* const DayNameShort[7]
extern

Definition at line 39 of file dow.c.

◆ FrenchMonthName

const char* const FrenchMonthName[14]
extern

Definition at line 134 of file french.c.

◆ JewishMonthHebName

const char* const JewishMonthHebName[14]
extern

Definition at line 355 of file jewish.c.

◆ JewishMonthHebNameLeap

const char* const JewishMonthHebNameLeap[14]
extern

Definition at line 336 of file jewish.c.

◆ JewishMonthName

const char* const JewishMonthName[14]
extern

Definition at line 317 of file jewish.c.

◆ JewishMonthNameLeap

const char* const JewishMonthNameLeap[14]
extern

Definition at line 298 of file jewish.c.

◆ MonthNameLong

const char* const MonthNameLong[13]
extern

Definition at line 264 of file gregor.c.

◆ MonthNameShort

const char* const MonthNameShort[13]
extern

Definition at line 247 of file gregor.c.

◆ monthsPerYear

const int monthsPerYear[19]
extern

Definition at line 286 of file jewish.c.