1 /* $XConsortium: repeat.h /main/4 1995/11/09 12:49:18 rswiston $ */
3 * (c) Copyright 1993, 1994 Hewlett-Packard Company
4 * (c) Copyright 1993, 1994 International Business Machines Corp.
5 * (c) Copyright 1993, 1994 Novell, Inc.
6 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.
12 #include <EUSCompat.h>
20 extern int monthdays[];
22 extern void init_time P(());
24 extern time_t _DtCms_closest_tick_v4 P((time_t target,
29 extern time_t _DtCms_last_tick_v4 P((time_t ftick,
33 extern time_t _DtCms_next_tick_v4 P((time_t tick, Period_4 period));
35 extern time_t _DtCms_prev_tick_v4 P((time_t tick, Period_4 period));
37 extern time_t _DtCms_first_tick_v4 P((time_t t, Period_4 period, int ordinal));
39 extern void _DtCms_adjust_appt_startdate P((Appt_4 *appt));
41 extern time_t next_nmins P((time_t t, int m));
43 extern time_t next_ndays P((time_t t, int n));
45 extern int _DtCms_marked_4_cancellation P((Appt_4 *a, int i));
47 extern int _DtCms_get_new_ntimes_v4 P((Period_4 period,
51 extern int _DtCms_get_ninstance_v4 P((Appt_4 *appt));
53 extern int _DtCms_in_repeater P((Id_4 *key,
55 boolean_t dont_care_cancel));
57 extern int monthlength P((Tick));
58 extern int leapyr P((int));
59 extern int fdom P((Tick));
60 extern int ldom P((Tick));
63 * returns the tick of the beginning of the day
65 extern time_t _DtCmsBeginOfDay(time_t t);
68 * return the tick since begin of day
70 extern time_t _DtCmsTimeOfDay(time_t t);
73 * routines to deal with recurrence rule and exception dates
75 extern boolean_t _DtCmsInExceptionList P((cms_entry *eptr, time_t tick));