| 1 |
Date/Hijri version 0.02 |
| 2 |
======================= |
| 3 |
|
| 4 |
This simple module converts gregorian dates to islamic (hijri) and |
| 5 |
vice versa. |
| 6 |
|
| 7 |
The dates must be given as array containing the day, month and year, |
| 8 |
and return the corresponding date as a list with the same elements. |
| 9 |
|
| 10 |
I haven't really tested if the converted dates are right and hope |
| 11 |
someone will point out mistakes. |
| 12 |
|
| 13 |
Hijri calculations are very difficult. Please see |
| 14 |
http://www.rabiah.com/convert/introduction.html for an explanation. |
| 15 |
|
| 16 |
INSTALLATION |
| 17 |
|
| 18 |
To install this module type the following: |
| 19 |
|
| 20 |
perl Makefile.PL |
| 21 |
make |
| 22 |
make test |
| 23 |
make install |
| 24 |
|
| 25 |
DEPENDENCIES |
| 26 |
|
| 27 |
This module does not require other modules or libraries: |
| 28 |
|
| 29 |
COPYRIGHT AND LICENCE |
| 30 |
|
| 31 |
Copyright (C) 2003 Alex Pleiner - zeitform Internet Dienste |
| 32 |
|
| 33 |
This library is free software; you can redistribute it and/or modify |
| 34 |
it under the same terms as Perl itself. |
| 35 |
|
| 36 |
This code is just stolen from KDE's L<kcalendarsystemhijri.cpp> at |
| 37 |
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/kdecore/kcalendarsystemhijri.cpp |
| 38 |
|
| 39 |
Copyright (c) 2002-2003 Carlos Moro <[email protected]> |
| 40 |
Copyright (c) 2002-2003 Hans Petter Bieker <[email protected]> |
| 41 |
|
| 42 |
kcalendarsystemhijri.cpp is translated from the Lisp code in |
| 43 |
``Calendrical Calculations'' by Nachum Dershowitz and Edward |
| 44 |
M. Reingold, Software---Practice & Experience, vol. 20, no. 9 |
| 45 |
(September, 1990), pp. 899--928. |
| 46 |
|
| 47 |
This code is in the public domain, but any use of it should publically |
| 48 |
acknowledge its source. |