15 #include <tqstringlist.h>
24 int hebrew_month_length, secular_month_length;
25 bool hebrew_leap_year_p, secular_leap_year_p;
27 int hebrew_day_number;
40 static bool hebrew_leap_year_p( int year);
41 static bool gregorian_leap_year_p( int year);
43 static long absolute_from_gregorian( int year, int month, int day);
44 static long absolute_from_hebrew( int year, int month, int day);
46 static void gregorian_from_absolute( long date, int *yearp,
47 int *monthp, int *dayp);
48 static void hebrew_from_absolute( long date, int *yearp, int *monthp,
51 static int hebrew_months_in_year( int year);
52 static int hebrew_month_length( int year, int month);
53 static int secular_month_length( int year, int month);
55 static long hebrew_elapsed_days( int year);
56 static long hebrew_elapsed_days2( int year);
57 static int hebrew_year_length( int year);
59 static void finish_up( long absolute, int hyear, int hmonth,
60 int syear, int smonth,
61 struct DateResult *result);
63 static void SecularToHebrewConversion( int year, int month, int day,
64 struct DateResult *result);
65 static void HebrewToSecularConversion( int year, int month, int day,
66 struct DateResult *result);
70 static TQStringList HebrewMonthNames;
71 static TQStringList SecularMonthNames;
|