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

KDECore

  • sources
  • kde-4.14
  • kdelibs
  • 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>
Include dependency graph for kcalendarsystemhebrew.cpp:

Go to the source code of this file.

Macros

#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
 

Macro Definition 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

const int DAY = 24 * HOUR
static

Definition at line 154 of file kcalendarsystemhebrew.cpp.

const int HOUR = 1080
static

Definition at line 153 of file kcalendarsystemhebrew.cpp.

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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:12 by doxygen 1.8.7 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
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs 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

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