[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hijri calendar support in glibc



wait, wait
let me think,

> >   2. In glibc C code: a conversion function from Gregorian to Hijri can
> >   be added, I was thinking of using the conversion functions that
> >   implement the Um-Ul-Qura algorithm since, as far as I know, this is
> >   the algorithm that is formally used in Arabia.
> >
I have a better alogrithm

the Um-al-qura alg has several limitations
I have looked into ITL code and I notices that
it uses tables, and work within small period
and maybe it uses too big numbers or even worst float numbers (I'm not
sure which) ..etc

the other alg in ITL is taken from EMACS and it has
it works for any extreme day but it has a big limitation
Ramadan is always 30 days

I have may own alg I need a month and it will be ready
if you are in a harry just tell me and tell me why is that

because there are things more important for me like othman project