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

Go to the source code of this file.

Macros

#define FRENCH_SDN_OFFSET   2375474
 
#define DAYS_PER_4_YEARS   1461
 
#define DAYS_PER_MONTH   30
 
#define FIRST_VALID   2375840
 
#define LAST_VALID   2380952
 

Functions

void SdnToFrench (zend_long sdn, int *pYear, int *pMonth, int *pDay)
 
zend_long FrenchToSdn (int year, int month, int day)
 

Variables

const char *const FrenchMonthName [14]
 

Macro Definition Documentation

◆ DAYS_PER_4_YEARS

#define DAYS_PER_4_YEARS   1461

Definition at line 90 of file french.c.

◆ DAYS_PER_MONTH

#define DAYS_PER_MONTH   30

Definition at line 91 of file french.c.

◆ FIRST_VALID

#define FIRST_VALID   2375840

Definition at line 92 of file french.c.

◆ FRENCH_SDN_OFFSET

#define FRENCH_SDN_OFFSET   2375474

Definition at line 89 of file french.c.

◆ LAST_VALID

#define LAST_VALID   2380952

Definition at line 93 of file french.c.

Function Documentation

◆ FrenchToSdn()

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

Definition at line 117 of file french.c.

◆ SdnToFrench()

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

Definition at line 95 of file french.c.

Variable Documentation

◆ FrenchMonthName

const char* const FrenchMonthName[14]
Initial value:
=
{
"",
"Vendemiaire",
"Brumaire",
"Frimaire",
"Nivose",
"Pluviose",
"Ventose",
"Germinal",
"Floreal",
"Prairial",
"Messidor",
"Thermidor",
"Fructidor",
"Extra"
}

Definition at line 134 of file french.c.