|
|
|
| Listing 4.7 | |
|
|
|
|
#include "scdtl_1.h"
extern int date_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int date_greater (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int date_greater_or_equal (struct DATE_INFO *dl,
struct DATE_INFO *d2);
extern int date_less (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int date_less_or_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int date_not_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int day_and_month_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int day_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int month_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int year_equal (struct DATE_INFO *d1, struct DATE_INFO *d2);
extern int hours_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int minutes_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int seconds_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int time_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int time_greater (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int time_greater_or_equal (struct TIME_INFO *t1,
struct TIME_INFO *t2);
extern int time_less (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int time_less_or_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
extern int time_not_equal (struct TIME_INFO *t1, struct TIME_INFO *t2);
#endif
|
|
|
|
|
|
|
| Listing 4.8 scdtl_6.h | |
|
|
|
|
/* scdtl_6.h
+-------------------------------------------+
| Copyright (C) 1995 by Lance W. Latham. |
| All rights reserved. |
+-------------------------------------------+
Standard C date/time library header file containing function
prototypes for functions dealing specifically with proleptic
calendar applications.
Header files in the basic SCDTL series are:
|
|
|
|
|
|
|
|