All Projects → jalaali → go-jalaali

jalaali / go-jalaali

Licence: MIT license
Go implementation for converting Jalaali and Gregorian calendar systems to each other.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-jalaali

wp-parsidate
Integrates the Solar Hijri (Persian) calendar in WordPress
Stars: ✭ 36 (+2.86%)
Mutual labels:  persian, jalali
persiantools
Jalali date and datetime with other tools
Stars: ✭ 101 (+188.57%)
Mutual labels:  persian, jalali
shamsi date
A Flutter and Dart package for using Jalali (Shamsi, Solar, Persian or Jalaali) calendar. You can convert, format and manipulate Jalali and Gregorian (Miladi) date and times.
Stars: ✭ 59 (+68.57%)
Mutual labels:  persian, jalali
iranian-calendar-events
Fetch Iranian calendar events (Jalali, Hijri and Gregorian) from time.ir website
Stars: ✭ 28 (-20%)
Mutual labels:  persian, jalali
gahshomar
A Persian (Jalali/Farsi) calendar for Linux
Stars: ✭ 69 (+97.14%)
Mutual labels:  persian, jalali
English-Persian-Word-Database
English Persian Word Database - Popular database extensions
Stars: ✭ 19 (-45.71%)
Mutual labels:  persian
OpenSourceTutorials-Introduction
Open Source Kotlin Tutorial
Stars: ✭ 38 (+8.57%)
Mutual labels:  persian
perke
A keyphrase extractor for Persian
Stars: ✭ 60 (+71.43%)
Mutual labels:  persian
MoalemYar
A personal project for class management, using various technologies like WPF, Entityframwork, CodeFirst, Sqlite, Migration and more
Stars: ✭ 53 (+51.43%)
Mutual labels:  persian
libcalendars
Collection of calendar arithmetic algorithms
Stars: ✭ 38 (+8.57%)
Mutual labels:  jalali
rabbitmq-persian
rabbitmq به زبان ساده
Stars: ✭ 19 (-45.71%)
Mutual labels:  persian
rtl-md
📝 A simple markdown to html converter which knows the direction!
Stars: ✭ 27 (-22.86%)
Mutual labels:  persian
awesome-persian-youtubers
لیست یوتیوبرهای فارسی‌زبان
Stars: ✭ 52 (+48.57%)
Mutual labels:  persian
pholiday
a persian calendar holidays library for javascript
Stars: ✭ 38 (+8.57%)
Mutual labels:  persian
py-persian-tools
An anthology of a variety of tools for the Persian language in Python
Stars: ✭ 106 (+202.86%)
Mutual labels:  persian
react-calendar-datetime-picker
A simple and fast date and time picker component for React
Stars: ✭ 58 (+65.71%)
Mutual labels:  persian
JHazm
A Java version of Hazm (Python library for digesting Persian text)
Stars: ✭ 40 (+14.29%)
Mutual labels:  persian
discord-guide-fa
اینجا یاد میگیرید چطور از صفر یک دیسکورد بات بسازید 🐱‍🏍
Stars: ✭ 69 (+97.14%)
Mutual labels:  persian
flutter date picker timeline
Gregorian and Jalali customizable date picker as a horizontal timeline
Stars: ✭ 29 (-17.14%)
Mutual labels:  jalali
PersianDataAnnotations
PersianDataAnnotations is ASP.NET Core MVC & ASP.NET MVC Custom Localization DataAnnotations (Localized MVC Errors) for Persian(Farsi) language - فارسی سازی خطاهای اعتبارسنجی توکار ام.وی.سی. و کور.ام.وی.سی. برای نمایش اعتبار سنجی سمت کلاینت
Stars: ✭ 38 (+8.57%)
Mutual labels:  persian

Jalaali

Golang implementation of Jalaali JS and Jalaali Python implementations of Jalaali (Jalali, Persian, Khayyami, Khorshidi, Shamsi) convertion to Gregorian calendar system and vice-versa.

This implementation is based on an algorithm by Kazimierz M. Borkowski. Borkowski claims that this algorithm works correctly for 3000 years!

Documentation on API is available here at Go official documentation site.

Installation

Use go get on this repository:

$ go get -u github.com/jalaali/go-jalaali

Usage

  • Wrapper around Golang time package:
    • Call Jalaali.Now() to get instance of current time. You can use all function from time package with this wrapper.
    • Call Jalaali.From(t) and pass a time instance to it. The you can work with it the same way you work with time package.
  • Jalaali Formatting:
    • Call JFormat method of a Jalaali instance and pass it the same formatting options that is used for Golang time package. The output will be in Jalaali date and use persian digits and words.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].