holiday.h
1 /***************************************************************************
2  * Copyright (C) 2003 by Jonathan Singer *
3  * jsinger@leeta.net *
4  * Calendar routines from Hebrew Calendar by Frank Yellin *
5  * *
6  * This program is free software; you can redistribute it and/or modify *
7  * it under the terms of the GNU General Public License as published by *
8  * the Free Software Foundation; either version 2 of the License, or *
9  * (at your option) any later version. *
10  ***************************************************************************/
11 #ifndef HOLIDAY_H
12 #define HOLIDAY_H
13 
14 #include <tqstring.h>
15 #include <tqstringlist.h>
16 #include <parsha.h>
20 class Holiday
21 {
22 public:
23 
24  Holiday();
25  ~Holiday();
26 
27  static TQStringList FindHoliday(int month, int day, int weekday,
28  int kvia, bool leap_year_p,
29  bool israel_p, int day_number,
30  int year);
31 
32  static TQString Sfirah(int);
33 
34  static bool CholP;
35  static bool OmerP;
36  static bool ParshaP;
37 
38 private:
39 
40  static TQStringList holidays;
41  static int HolidayFlags; //supposed to be extern
42 
43 //parsha Parsha_lookup;
44 };
45 
46 #endif