|
|
|
| Listing 4.6 scdtl_4.h | |
|
|
|
|
/* scdtl_4.h
+-------------------------------------------+
| Copyright (C) 1995 by Lance W. Latham. |
| All rights reserved. |
+-------------------------------------------+
Standard C date/time library header file containing function prototypes
for all functions related to days of observance in general and matters
in the Western (Julian and Gregorian) calendar system in particular,
specifically including routines concerned with the ecclesiastical
calendar.
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_4_H
#define __SCDTL_4_H
#include "scdtl_1.h"
extern char *dominical_letter (int year);
extern struct DATE_INFO DOW_closest_to_date (int dow_index,
struct DATE_INFO *date_in);
extern int epact (int year);
extern int epact_gregorian (int year);
extern int epact_gregorian_obeirne_1 (int year);
extern int epact_gregorian_obeirne_2 (int year);
extern int epact_julian (int year);
extern int golden_number (int year);
extern struct DATE_INFO easter (int year);
extern struct DATE_INFO easter_gauss (int year);
extern struct DATE_INFO easter_gregorian (int year);
extern struct DATE_INFO easter_gregorian_meeus (int year);
|
|
|
|
|
|
|
|