• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

kcalendarsystemhebrew.cpp File Reference

#include <klocale.h>
#include <kdebug.h>
#include "kcalendarsystemhebrew.h"

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 heb2num (const QString &str, int &iLength)
static int hebrewDaysElapsed (int y)
static class h_date * hebrewToGregorian (int y, int m, int d)
static bool is_leap_year (int year)
static int long_cheshvan (int year)
static QString num2heb (int num, bool includeMillenium)
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 189 of file kcalendarsystemhebrew.cpp.

#define MONTH   (DAY+M(12,793))

Definition at line 190 of file kcalendarsystemhebrew.cpp.


Function Documentation

static class h_date* gregorianToHebrew ( int  y,
int  m,
int  d 
) [static]

Definition at line 95 of file kcalendarsystemhebrew.cpp.

static int heb2num ( const QString &  str,
int &  iLength 
) [static]

Definition at line 664 of file kcalendarsystemhebrew.cpp.

static int hebrewDaysElapsed ( int  y  )  [static]

For internal use only.

no. of days in y years

Definition at line 196 of file kcalendarsystemhebrew.cpp.

static class h_date* hebrewToGregorian ( int  y,
int  m,
int  d 
) [static]

Definition at line 45 of file kcalendarsystemhebrew.cpp.

static bool is_leap_year ( int  year  )  [static]

Definition at line 256 of file kcalendarsystemhebrew.cpp.

static int long_cheshvan ( int  year  )  [static]

For internal use only.

true if long Cheshvan

Definition at line 224 of file kcalendarsystemhebrew.cpp.

static QString num2heb ( int  num,
bool  includeMillenium 
) [static]

Definition at line 146 of file kcalendarsystemhebrew.cpp.

static int short_kislev ( int  year  )  [static]

For internal use only.

true if short Kislev

Definition at line 242 of file kcalendarsystemhebrew.cpp.

static class h_date* toHebrew ( const QDate &  date  )  [static]

Definition at line 273 of file kcalendarsystemhebrew.cpp.


Variable Documentation

const int DAY = 24*HOUR [static]

Definition at line 187 of file kcalendarsystemhebrew.cpp.

const int HOUR = 1080 [static]

Definition at line 186 of file kcalendarsystemhebrew.cpp.

const int WEEK = 7*DAY [static]

Definition at line 188 of file kcalendarsystemhebrew.cpp.

KDECore

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal