• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
  • plugins
  • hebrew
holiday.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 2003 Jonathan Singer <jsinger@leeta.net>
5  Copyright (C) 2007 Loïc Corbasson <loic.corbasson@gmail.com>
6 
7  Calendar routines from Hebrew Calendar by Frank Yellin.
8  Based on some GNU Emacs code (lisp/calendar/cal-hebrew.el),
9  copyright (C) 1995, 1997 Free Software Foundation, Inc.,
10  authors: Nachum Dershowitz <nachum@cs.uiuc.edu>
11  Edward M. Reingold <reingold@cs.uiuc.edu>
12 
13  This program is free software; you can redistribute it and/or modify
14  it under the terms of the GNU General Public License as published by
15  the Free Software Foundation; either version 2 of the License, or
16  (at your option) any later version.
17 
18  This program is distributed in the hope that it will be useful,
19  but WITHOUT ANY WARRANTY; without even the implied warranty of
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21  GNU General Public License for more details.
22 
23  You should have received a copy of the GNU General Public License along
24  with this program; if not, write to the Free Software Foundation, Inc.,
25  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 #ifndef KORG_PLUGINS_HEBREW_HOLIDAY_H
29 #define KORG_PLUGINS_HEBREW_HOLIDAY_H
30 
31 #include "converter.h"
32 
33 #include <QStringList>
34 
38 class Holiday
39 {
40  public:
52  static QStringList findHoliday( HebrewDate hd, bool useIsraelSettings,
53  bool showParsha, bool showChol,
54  bool showOmer );
55 
56  private:
61  static QString sfirah( int );
62 
63  enum HebrewMonths {
64  Nissan = 1,
65  Iyar = 2,
66  Sivan = 3,
67  Tamuz = 4,
68  Ab = 5,
69  Elul = 6,
70  Tishrei = 7,
71  Cheshvan = 8,
72  Kislev = 9,
73  Tevet = 10,
74  Shvat = 11,
75  Adar = 12,
76  AdarII = 13,
77  AdarI = 12
78  };
79 
80  static QStringList findHoliday( int month, int day, int weekday,
81  int kvia, bool leap_year_p,
82  bool useIsraelSettings, int day_number,
83  int year, bool showParsha, bool showChol,
84  bool showOmer );
85 };
86 
87 #endif
Holiday::findHoliday
static QStringList findHoliday(HebrewDate hd, bool useIsraelSettings, bool showParsha, bool showChol, bool showOmer)
Given a day of a Hebrew month, figures out all the interesting holidays that correspond to that date...
Definition: holiday.cpp:33
HebrewDate
This class converts dates between the Hebrew and Gregorian (secular) calendars.
Definition: converter.h:45
Holiday
Definition: holiday.h:38
converter.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal