Xbase Class Library  2.0.0
Macros
xdate.cpp File Reference
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <xbase/xbconfig.h>
#include <xbase/xbase.h>
#include <xbase/xdate.h>
#include <xbase/retcodes.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

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