BaseMax / JalaliCalendarTS

This is a TypeScript library that allows you to working with Jalali Calendar system.

Home Page:https://basemax.github.io/JalaliCalendarJS/example.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jalali Calendar TS (TypeScript)

This is a TypeScript library that allows you to working with Jalali Calendar system.

Functions

  • en2fa(value): Convert a English number to Persian digit characters
  • isLeapYear(year): Check a Jalali year is a leap year or not
  • daysOfYear(year): Count number of days in a Jalali year
  • daysOfMonth(year, month): Count number of month in a Jalali year
  • jalaliDate(yearnull, monthnull, daynull): Convert a Gregorian date to Jalali date
  • daysOfYearUntilDate(year, month, day): Count number of days until a Jalali date
  • diffDays(year1, month1, day1, year2, month2, day2): Count number of days between two Jalali dates
  • firstDayOfYear(year): Get first day of a Jalali year
  • firstDayOfMonth(year, month): Get first day of a Jalali month

Authors

  • Max Base: Creator
  • Mohamad Shiralizadeh: TS package

© Copyright Max Base, 2022

About

This is a TypeScript library that allows you to working with Jalali Calendar system.

https://basemax.github.io/JalaliCalendarJS/example.html

License:GNU General Public License v3.0


Languages

Language:TypeScript 67.2%Language:HTML 32.8%