Xbase64 Class Library  3.1.2
Macros
xbdate.cpp File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <xbase64/xbconfig.h>
#include <xbase64/xbase64.h>
#include <xbase64/xbdate.h>

Macros

#define EPOCH_MIN   100
 
#define EPOCH_MAX   3000
 
#define DAYS_AD(year)   ((year) *365L + (year) / 4 - (year) / 100 + (year) / 400)
 

Macro Definition Documentation

◆ DAYS_AD

#define DAYS_AD (   year)    ((year) *365L + (year) / 4 - (year) / 100 + (year) / 400)

◆ EPOCH_MAX

#define EPOCH_MAX   3000

◆ EPOCH_MIN

#define EPOCH_MIN   100