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

KDECore

kcalendarsystemjalali.cpp File Reference

#include "kcalendarsystemjalali.h"
#include <QtCore/QDate>
#include <QtCore/QCharRef>
#include <math.h>
#include <kglobal.h>
#include <klocale.h>
#include <kdebug.h>
#include <stdio.h>

Include dependency graph for kcalendarsystemjalali.cpp:

Go to the source code of this file.


Functions

static int Ceil (float number)
static long civil_jdn (int year, int month, int day)
static void gregorianToJalali (const QDate &date, int *pYear, int *pMonth, int *pDay)
static SDATE * gregorianToJalali (int y, int m, int d)
static int hndays (int m, int y)
static int isJalaliLeap (int year)
static long jalali_jdn (int year, int month, int day)
static SDATE * jalaliToGregorian (int y, int m, int d)
static SDATE jdn_civil (long jdn)
static SDATE jdn_jalali (long jdn)

Variables

static const int gMonthDay [2][13]
static const int jMonthDay [2][13]

Function Documentation

static int Ceil ( float  number  )  [static]

Definition at line 63 of file kcalendarsystemjalali.cpp.

static long civil_jdn ( int  year,
int  month,
int  day 
) [static]

Definition at line 146 of file kcalendarsystemjalali.cpp.

static void gregorianToJalali ( const QDate &  date,
int *  pYear,
int *  pMonth,
int *  pDay 
) [static]

Definition at line 199 of file kcalendarsystemjalali.cpp.

static SDATE* gregorianToJalali ( int  y,
int  m,
int  d 
) [static]

Definition at line 189 of file kcalendarsystemjalali.cpp.

static int hndays ( int  m,
int  y 
) [static]

Definition at line 229 of file kcalendarsystemjalali.cpp.

static int isJalaliLeap ( int  year  )  [static]

Definition at line 217 of file kcalendarsystemjalali.cpp.

static long jalali_jdn ( int  year,
int  month,
int  day 
) [static]

Definition at line 75 of file kcalendarsystemjalali.cpp.

static SDATE* jalaliToGregorian ( int  y,
int  m,
int  d 
) [static]

Definition at line 179 of file kcalendarsystemjalali.cpp.

static SDATE jdn_civil ( long  jdn  )  [static]

Definition at line 156 of file kcalendarsystemjalali.cpp.

static SDATE jdn_jalali ( long  jdn  )  [static]

Definition at line 100 of file kcalendarsystemjalali.cpp.


Variable Documentation

const int gMonthDay[2][13] [static]

Initial value:

    {
        {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
        {0, 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31},
    }

Definition at line 42 of file kcalendarsystemjalali.cpp.

const int jMonthDay[2][13] [static]

Initial value:

    {
        {0, 31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29},
        {0, 31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 30},
    }

Definition at line 48 of file kcalendarsystemjalali.cpp.

KDECore

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
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