Main Page   Compound List   File List   Compound Members   File Members  

DT_DATE Struct Reference

The DT_DATE structure is used to store a single date. More...

#include <date.h>

List of all members.

Public Attributes

long int rata_die
int greg_calced
int year
int month
int day


Detailed Description

The DT_DATE structure is used to store a single date.

A date is stored internally in rata die format. It will also store dates in gregorian format, but the calculation is only done when needed. The greg_calced flag will tell if this operation has been performed for a given rata die date, and if not, it will be, with the results stored in the year, month, and day slots.

Do not access this structure directly. Instead, use the functions available in the date library.


Member Data Documentation

int DT_DATE::day

The corresponding day of the month.

int DT_DATE::greg_calced

A flag which tells in the gregorian date has been calculated.

int DT_DATE::month

The corresponding month.

long int DT_DATE::rata_die

The date, in rata die format.

int DT_DATE::year

The corresponding year.


The documentation for this struct was generated from the following file:
Generated at Fri May 12 15:50:03 2000 for Date Manipulation Library by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000