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