korganizer

holiday.h

00001 /***************************************************************************
00002  *   Copyright (C) 2003 by Jonathan Singer                                             *
00003  *   jsinger@leeta.net                                                                                *
00004  *   Calendar routines from Hebrew Calendar by Frank Yellin                     *
00005  *                                                                                                             *
00006  *   This program is free software; you can redistribute it and/or modify      *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or      *
00009  *   (at your option) any later version.                                                       *
00010  ***************************************************************************/
00011 #ifndef HOLIDAY_H
00012 #define HOLIDAY_H
00013 
00014 #include <qstring.h>
00015 #include <qstringlist.h>
00016 #include <parsha.h>
00020 class Holiday
00021 {
00022 public:
00023 
00024   Holiday();
00025   ~Holiday();
00026 
00027   static QStringList FindHoliday(int month, int day, int weekday,
00028                                  int kvia, bool leap_year_p,
00029                                  bool israel_p, int day_number,
00030                                  int year);
00031 
00032   static QString Sfirah(int);
00033 
00034   static bool CholP;
00035   static bool OmerP;
00036   static bool ParshaP;
00037 
00038 private:
00039 
00040   static QStringList holidays;
00041   static int HolidayFlags;        //supposed to be extern
00042 
00043 //parsha Parsha_lookup;
00044 };
00045 
00046 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys