korganizer

#include <converter.h>

Static Public Member Functions

static bool hebrew_leap_year_p (int year)
 
static bool gregorian_leap_year_p (int year)
 
static long absolute_from_gregorian (int year, int month, int day)
 
static long absolute_from_hebrew (int year, int month, int day)
 
static void gregorian_from_absolute (long date, int *yearp, int *monthp, int *dayp)
 
static void hebrew_from_absolute (long date, int *yearp, int *monthp, int *dayp)
 
static int hebrew_months_in_year (int year)
 
static int hebrew_month_length (int year, int month)
 
static int secular_month_length (int year, int month)
 
static long hebrew_elapsed_days (int year)
 
static long hebrew_elapsed_days2 (int year)
 
static int hebrew_year_length (int year)
 
static void finish_up (long absolute, int hyear, int hmonth, int syear, int smonth, struct DateResult *result)
 
static void SecularToHebrewConversion (int year, int month, int day, struct DateResult *result)
 
static void HebrewToSecularConversion (int year, int month, int day, struct DateResult *result)
 

Detailed Description

Author
Jonathan Singer

Definition at line 33 of file converter.h.

Constructor & Destructor Documentation

◆ Converter()

Converter::Converter ( )

Definition at line 14 of file converter.cpp.

◆ ~Converter()

Converter::~Converter ( )

Definition at line 19 of file converter.cpp.

Member Function Documentation

◆ absolute_from_gregorian()

long Converter::absolute_from_gregorian ( int  year,
int  month,
int  day 
)
static

Definition at line 23 of file converter.cpp.

◆ absolute_from_hebrew()

long Converter::absolute_from_hebrew ( int  year,
int  month,
int  day 
)
static

Definition at line 45 of file converter.cpp.

◆ finish_up()

void Converter::finish_up ( long  absolute,
int  hyear,
int  hmonth,
int  syear,
int  smonth,
struct DateResult *  result 
)
static

Definition at line 331 of file converter.cpp.

◆ gregorian_from_absolute()

void Converter::gregorian_from_absolute ( long  date,
int *  yearp,
int *  monthp,
int *  dayp 
)
static

Definition at line 69 of file converter.cpp.

◆ gregorian_leap_year_p()

bool Converter::gregorian_leap_year_p ( int  year)
static

Definition at line 205 of file converter.cpp.

◆ hebrew_elapsed_days()

long Converter::hebrew_elapsed_days ( int  year)
static

Definition at line 239 of file converter.cpp.

◆ hebrew_elapsed_days2()

long Converter::hebrew_elapsed_days2 ( int  year)
static

Definition at line 257 of file converter.cpp.

◆ hebrew_from_absolute()

void Converter::hebrew_from_absolute ( long  date,
int *  yearp,
int *  monthp,
int *  dayp 
)
static

Definition at line 88 of file converter.cpp.

◆ hebrew_leap_year_p()

bool Converter::hebrew_leap_year_p ( int  year)
static

Definition at line 217 of file converter.cpp.

◆ hebrew_month_length()

int Converter::hebrew_month_length ( int  year,
int  month 
)
static

Definition at line 130 of file converter.cpp.

◆ hebrew_months_in_year()

int Converter::hebrew_months_in_year ( int  year)
static

Definition at line 109 of file converter.cpp.

◆ hebrew_year_length()

int Converter::hebrew_year_length ( int  year)
static

Definition at line 288 of file converter.cpp.

◆ HebrewToSecularConversion()

void Converter::HebrewToSecularConversion ( int  year,
int  month,
int  day,
struct DateResult *  result 
)
static

Definition at line 314 of file converter.cpp.

◆ secular_month_length()

int Converter::secular_month_length ( int  year,
int  month 
)
static

Definition at line 176 of file converter.cpp.

◆ SecularToHebrewConversion()

void Converter::SecularToHebrewConversion ( int  year,
int  month,
int  day,
struct DateResult *  result 
)
static

Definition at line 295 of file converter.cpp.


The documentation for this class was generated from the following files: