< previous page page_66 next page >

Page 66
(continued)
Listing 4.6
extern struct DATE_INFO easter_gregorian_obeirne_1 (int year);
extern struct DATE_INFO easter_gregorian_obeirne_2 (int year);
extern struct DATE_INFO easter_julian (int year);
extern struct DATE_INFO easter_julian_meeus (int year);
extern struct DATE_INFO easter_oudin (int year);
extern struct DATE_INFO Nth_DOW_after_date (int n, int dow_index,
                                            struct DATE_INFO *date_in);
extern struct DATE_INFO Nth_DOW_before_date (int n, int dow_index,
                                             struct DATE_INFO *date_in);
extern struct DATE_INFO Nth_DOW_of_month (int n, int dow_index, int month,
                                          int year);
extern struct DATE_INFO Nth_full_weekend (int n, int month, int year);
extern int number_of_DOWs_in_month (int dow_index, int month, int year);


#endif

Listing 4.7 scdtl_5.h
/* scdtl_5.h


   +-------------------------------------------+
   |   Copyright (C) 1995 by Lance W. Latham.  |
   |         All rights reserved.              |
   +-------------------------------------------+


   Standard C date/time library header file containing function
   prototypes for date comparison functions.


   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.
   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_5_H
#define __SCDTL_5_H

 
< previous page page_66 next page >