I'm trying to use ITL to convert Gregorian dates to their Hijri counterparts. Looking at hijri.h, the header defines two different functions that seem to do what I want. Perplexingly though, these two functions yield different results: Running demo_hijri.c on my system gives 23/8 for h_date and 24/8 for G2H.
What is the difference between these two functions? and which of these two functions should application developers use to convert Gregorian dates?
hijri.h should probably include a description of these differences as well.
Hello everyone.
I'm trying to use ITL to convert Gregorian dates to their Hijri counterparts. Looking at
hijri.h
, the header defines two different functions that seem to do what I want. Perplexingly though, these two functions yield different results: Runningdemo_hijri.c
on my system gives 23/8 forh_date
and 24/8 forG2H
.What is the difference between these two functions? and which of these two functions should application developers use to convert Gregorian dates?
hijri.h
should probably include a description of these differences as well.