-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Dear Jalali developers,
Today I saw your project about Jalali calendar.
First of all it was interesting to me that I saw you started a new Jalali calendar in GO and I hope you have motivation to extend your nice work for other languages as well.
I have same idea in mind and I started a project in this subject a few month ego.
So I started to investigate why we have such problems converting Jalali calendar to Gregorian calendar.
Here you can view what I learned : https://github.com/Ali-Javanmardi/Persian-Jalali-calendar-converter
As you may find there I made a comparison table for different leap year calculation methods and unfortunately I found that method suggested by Musa Akrami is not error proof.
At the moment I focused to calculate more accurate leap year by calculating astronomical algorithms introduced by Jean Meeus in his book Astronomical Algorithms (1998), 2nd ed, ISBN 0-943396-61-1
Honestly my try is an overkill and a simple method with less code has more value in real life, but as a matter of accuracy I suggest you have a look on Mohammad Reza Sayyad article here: http://mirasmaktoob.ir/fa/system/files/nashriat/ME3-Sayad-Sal.pdf
By my comparison table his job looks better, but unfortunately his calculation is more difficult to implement in less code.
Hope you find it useful in your way.