#include "kcalendarsystemhebrew_p.h"#include "kcalendarsystemprivate_p.h"#include "kdebug.h"#include "klocale.h"#include <QtCore/QDate>#include <QtCore/QCharRef>
Include dependency graph for kcalendarsystemhebrew.cpp:

Go to the source code of this file.
Defines | |
| #define | M(h, p) ((h)*HOUR+p) |
| #define | MONTH (DAY+M(12,793)) |
Functions | |
| static class h_date * | gregorianToHebrew (int y, int m, int d) |
| static int | hebrewDaysElapsed (int y) |
| static class h_date * | hebrewToGregorian (int y, int m, int d) |
| static int | long_cheshvan (int year) |
| static int | short_kislev (int year) |
| static class h_date * | toHebrew (const QDate &date) |
Variables | |
| static const int | DAY = 24*HOUR |
| static const int | HOUR = 1080 |
| static const int | WEEK = 7*DAY |
Define Documentation
| #define M | ( | h, | |
| p | |||
| ) | ((h)*HOUR+p) |
Definition at line 156 of file kcalendarsystemhebrew.cpp.
| #define MONTH (DAY+M(12,793)) |
Definition at line 157 of file kcalendarsystemhebrew.cpp.
Function Documentation
| static class h_date* gregorianToHebrew | ( | int | y, |
| int | m, | ||
| int | d | ||
| ) | [static] |
Definition at line 100 of file kcalendarsystemhebrew.cpp.
| static int hebrewDaysElapsed | ( | int | y | ) | [static] |
no. of days in y years
Definition at line 163 of file kcalendarsystemhebrew.cpp.
| static class h_date* hebrewToGregorian | ( | int | y, |
| int | m, | ||
| int | d | ||
| ) | [static] |
Definition at line 49 of file kcalendarsystemhebrew.cpp.
| static int long_cheshvan | ( | int | year | ) | [static] |
true if long Cheshvan
Definition at line 194 of file kcalendarsystemhebrew.cpp.
| static int short_kislev | ( | int | year | ) | [static] |
true if short Kislev
Definition at line 212 of file kcalendarsystemhebrew.cpp.
| static class h_date* toHebrew | ( | const QDate & | date | ) | [static] |
Definition at line 227 of file kcalendarsystemhebrew.cpp.
Variable Documentation
Definition at line 154 of file kcalendarsystemhebrew.cpp.
const int HOUR = 1080 [static] |
Definition at line 153 of file kcalendarsystemhebrew.cpp.
Definition at line 155 of file kcalendarsystemhebrew.cpp.
KDE 4.6 API Reference