GithubHelp home page GithubHelp logo

jalali's People

Contributors

fzerorubigd avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

meysampg

jalali's Issues

Some issue about leap year calculation

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.