diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch) | |
tree | 67208f7c145782a7e90b123b982ca78d88cc2c87 /korganizer/plugins/hebrew/holiday.h | |
download | tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/plugins/hebrew/holiday.h')
-rw-r--r-- | korganizer/plugins/hebrew/holiday.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/korganizer/plugins/hebrew/holiday.h b/korganizer/plugins/hebrew/holiday.h new file mode 100644 index 000000000..6c8c61d9d --- /dev/null +++ b/korganizer/plugins/hebrew/holiday.h @@ -0,0 +1,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 <qstring.h> +#include <qstringlist.h> +#include <parsha.h> +/** +@author Jonathan Singer +*/ +class Holiday +{ +public: + + Holiday(); + ~Holiday(); + + static QStringList FindHoliday(int month, int day, int weekday, + int kvia, bool leap_year_p, + bool israel_p, int day_number, + int year); + + static QString Sfirah(int); + + static bool CholP; + static bool OmerP; + static bool ParshaP; + +private: + + static QStringList holidays; + static int HolidayFlags; //supposed to be extern + +//parsha Parsha_lookup; +}; + +#endif |