misri_hijri 0.1.7 copy "misri_hijri: ^0.1.7" to clipboard
misri_hijri: ^0.1.7 copied to clipboard

Hijri calendar dates for Dart/Flutter with a choice of calculation system: Misri or Umm al-Qura.

Changelog #

0.1.7 #

  • Update Package description.
  • format() now zero-pads the dd and mm tokens to two digits (e.g. 05, 09); use d and m for the non-padded values. Padding respects the active locale's digits (e.g. ٠١ in Arabic).

0.1.1 #

  • Added a runnable example/.
  • Verified the two Umm al-Qura month-start entries that differ from the hijri package (1 Jumada al-Akhirah 1446, 1 Shawwal 1485) against the AlAdhan API; documented inline.
  • Tightened README wording; added a .gitignore.

0.1.0 #

Initial release.

  • Two Hijri calendar engines behind one HijriCalendarBase interface:
    • MisriHijriCalendar — fixed tabular calculation, any year.
    • UmmAlQuraCalendar — Saudi official calendar, ~1356–1500 AH (1937–2077 CE), with manual moon-sighting adjustments.
  • Hijri factory (now, fromDate, fromHijri, yesterday, tomorrow) for choosing the engine with a single type parameter.
  • Gregorian <-> Hijri conversion, addDays/addMonths (with day clamping), and chronological comparison across engine types.
  • format() with dd/d, mm/m, MMMM/MM, yyyy/yy, DDDD/DD tokens.
  • Built-in en and ar locales (tr for Umm al-Qura), custom locale registration, and Arabic-Indic digits.
2
likes
160
points
255
downloads

Documentation

API reference

Publisher

verified publishertappstudio.in

Weekly Downloads

Hijri calendar dates for Dart/Flutter with a choice of calculation system: Misri or Umm al-Qura.

Repository (GitHub)
View/report issues

Topics

#hijri #islamic-calendar #calendar #date #i18n

License

BSD-2-Clause (license)

More

Packages that depend on misri_hijri