< previous page page_68 next page >

Page 68
(continued)
Listing 4.8
   1. "scdtl_1.h", definitions and data structures.
   2. "scdtl_2.h", basic date and time function prototypes.
   3. "scdtl_3.h", prototypes for functions related specifically to DOS.
   4. "scdtl_4.h", prototypes of functions related to days of observance.
   5. "scdtl_5.h", prototypes of functions for date and time comparisons.
   6. "scdtl_6.h", prototypes of functions for proleptic calendar
                   applications.
   7. "scdtl_7.h", definitions, data structures and function prototypes
                   for date/time stamping and compression applications.
*/


#ifndef __SCDTL_6_H
#define __SCDTL_6_H


#include "dateinfo.h"


extern double gregorian_proleptic_to_JD0 (struct DATE_INFO *gdate);
extern struct DATE_INFO gregorian_to_julian (struct DATE_INFO *gdate);
extern struct DATE_INFO JD0_to_gregorian_proleptic (double jd);
extern struct DATE_INFO JD0_to_julian_proleptic (double jd);
extern double julian_proleptic_to_JD0 (struct DATE_INFO *jdate);
extern struct DATE_INFO julian_to_gregorian (struct DATE_INFO *jdate);


#endif

Listing 4.9 scdtl_7.h
/* scdtl_7.h
   +-------------------------------------------+
   |   Copyright (C) 1995 by Lance W. Latham.  |
   |         All rights reserved.              |
   +-------------------------------------------+


   Standard C date/time library header file containing all definitions,
   data structures and function prototypes for functions dealing
   specifically with date/time stamping and compression applications.


   Header files in the basic SCDTL series are:


   1. "scdtl_1.h", definitions and data structures.
   2. "scdtl_2.h", basic date and time function prototypes.
   3. "scdtl_3.h", prototypes for functions related specifically to DOS.
   4. "scdtl_4.h", prototypes of functions related to days of observance.

 
< previous page page_68 next page >