• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDECore

  • kdecore
  • date
Macros | Functions | Variables
kcalendarsystemhebrew.cpp File Reference
#include "kcalendarsystemhebrew_p.h"
#include "kcalendarsystemprivate_p.h"
#include "kdebug.h"
#include "klocale.h"
#include <QtCore/QDate>
#include <QtCore/QCharRef>

Go to the source code of this file.

Macros

#define M(h, 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

Macro Definition Documentation

◆ M

#define M ( h,
p )
Value:
((h)*HOUR+p)
HOUR
static const int HOUR
Definition kcalendarsystemhebrew.cpp:153

Definition at line 156 of file kcalendarsystemhebrew.cpp.

◆ MONTH

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

Definition at line 157 of file kcalendarsystemhebrew.cpp.

Function Documentation

◆ gregorianToHebrew()

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

Definition at line 100 of file kcalendarsystemhebrew.cpp.

◆ hebrewDaysElapsed()

int hebrewDaysElapsed ( int y)
static

no. of days in y years

Definition at line 163 of file kcalendarsystemhebrew.cpp.

◆ hebrewToGregorian()

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

Definition at line 49 of file kcalendarsystemhebrew.cpp.

◆ long_cheshvan()

int long_cheshvan ( int year)
static

true if long Cheshvan

Definition at line 194 of file kcalendarsystemhebrew.cpp.

◆ short_kislev()

int short_kislev ( int year)
static

true if short Kislev

Definition at line 212 of file kcalendarsystemhebrew.cpp.

◆ toHebrew()

class h_date * toHebrew ( const QDate & date)
static

Definition at line 227 of file kcalendarsystemhebrew.cpp.

Variable Documentation

◆ DAY

const int DAY = 24 * HOUR
static

Definition at line 154 of file kcalendarsystemhebrew.cpp.

◆ HOUR

const int HOUR = 1080
static

Definition at line 153 of file kcalendarsystemhebrew.cpp.

◆ WEEK

const int WEEK = 7 * DAY
static

Definition at line 155 of file kcalendarsystemhebrew.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDECore

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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