BaseMax / gregorian_to_jalali

If you want to convert Gregorian date to Jalali, here is collection of minimal solution for most programming languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gregorian to Jalali date (gregorian2jalali calendar)

If you want to convert Gregorian date to Jalali, here is collection of minimal solution for most programming languages.

If you know any of these languages, add them and send a pull request. Also if you would like to learn a new language, it's time and a chance for you. Welcome!

Languages

  • C
  • PHP
  • C++ [STL, Boost, Qt]
  • QML
  • Dart
  • Java
  • Kotlin
  • C#
  • Python
  • JavaScript
  • Go
  • Typescript
  • Ruby
  • Elixir
  • Perl
  • Rust
  • Visual Basic
  • Bash

Philosophy

2 years ago, I created a repository to archive minimal solution for convert a gregorian date to jalali PHPJalaliDate avaiable at here.

But here, Want to keep minimal solution for most programming languages. I think in most case we not need a very large library just to convert a date, so these solutions can help everyone in that way.

Contribute

Feel free to improve/change or add a new solution for languages.

TODO

  • Add more test cases
  • Add more languages

© Copyright 2021, Max Base and all of the contributors

About

If you want to convert Gregorian date to Jalali, here is collection of minimal solution for most programming languages.

License:GNU General Public License v3.0


Languages

Language:C++ 25.3%Language:Kotlin 10.3%Language:QML 9.0%Language:Java 8.5%Language:Dart 7.9%Language:Python 7.8%Language:Go 6.7%Language:C 6.7%Language:PHP 6.5%Language:C# 6.2%Language:JavaScript 5.2%