shamsi_date
A Flutter and Dart package for using Jalali (Shamsi, Solar, Persian, Jalaali or شمسی) calendar. You can convert, format and manipulate Jalali and Gregorian (Miladi) date and times.
1.1.1
10K downloads/mo
#2891 most downloaded on pub.dev
FatulM/shamsi_date
What this package is like to depend on
Last release 1 years ago
15 Jul 2025
Ships unpredictably
gaps range from 2 weeks to 1.7 years
Nearly every release is documented
notes for 36 of 39 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
41 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
41 releases · Dec 2018 to Jul 2025Releases
latest 41-
1.1.115 Jul 2025 -
1.1.002 May 2025Release notes
Open source →- ADDED docs
- ADDED default date seperator to formatter
- ADDED formatting for time information
- ADDED formatter for day of year
- ADDED day of year
- ADDED time formatters
- REFACTOR string manipulations
- UPDATED copyright
Release notes
Open source →- ADDED docs
- ADDED default date separator to formatter
- ADDED formatting for time information
- ADDED formatter for day of year
- ADDED day of year
- ADDED time formatters
- REFACTOR string manipulations
- UPDATED copyright
-
1.0.418 Aug 2024 -
1.0.304 Aug 2024Release notes
Open source →- ADDED fromMillisecondsSinceEpoch factory methods for Jalali and Gregorian (#24)
- ADDED test cases from Iranian Calendar Authority (#23)
- UPDATED copyright
-
1.0.212 Sep 2023 -
1.0.108 Jan 2022Release notes
Open source →- FIXED compareTo bugs about time data (#14)
- ADDED time getter for Date to acquire time data in Duration
Release notes
Open source →- FIXED compareTo bugs about time data (#14)
- ADDED time getter for Date to acquire time data in Duration
-
1.0.003 Nov 2021Release notes
Open source →- ADDED time information to Jalali and Gregorian
- CHANGED toDateTime and toUtcDateTime implementation according to time information
- CHANGED toString implementation according to time information
- CHANGED merged extension functions in main library
Release notes
Open source →- ADDED time information to Jalali and Gregorian
- CHANGED toDateTime and toUtcDateTime implementation according to time information
- CHANGED toString implementation according to time information
- CHANGED merged extension functions in main library
-
0.16.004 Oct 2021Release notes
Open source →- ADDED hour, ..., microSeconds arguments to toDateTime
- ADDED toUtcDateTime
Release notes
Open source →- ADDED hour, ..., microSeconds arguments to toDateTime
- ADDED toUtcDateTime
-
0.15.003 Jun 2021Release notes
Open source →- CHANGED all date instances are comparable with each other
- CHANGED internal state management to cache julian day number
Release notes
Open source →- CHANGED all date instances are comparable with each other
- CHANGED internal state management to cache julian day number
-
0.14.120 May 2021 -
0.14.008 May 2021 -
0.13.008 May 2021 -
0.12.022 Mar 2021 -
0.11.0-nullsafety.006 Feb 2021 pre-release -
0.10.0-nullsafety.018 Dec 2020 pre-releaseRelease notes
Open source →- ADDED nullsafety support
- UPDATED docs
- RENAMED static min and max constants
-
0.9.102 Oct 2020 -
0.9.018 Aug 2020Release notes
Open source →- CHANGED validation process
- ADDED DateException
- REMOVED isValid method from Date
- ADDED MIN and MAX static constants to Jalali and Gregorian
- UPDATED documentation
- ADDED and IMPROVED tests
- CHANGED library URI references
-
0.8.116 Feb 2020 -
0.8.002 Feb 2020Release notes
Open source →- ADDED null checking for constructors and factories
- ADDED null checking for most of the methods
- ADDED addYears, addMonths and addDays methods for Jalali and Gregorian
- ADDED withYear, withMonth and withDay methods for Jalali and Gregorian
- ADDED more tests
- IMPROVED date formatter
- UPDATED documentation
-
0.7.108 Nov 2019 -
0.7.026 Oct 2019Release notes
Open source →- ADDED addition and subtraction operators for Jalali
- ADDED add method for Jalali
- ADDED isValid, isLeapYear and monthLength methods to Gregorian
- ADDED addition and subtraction operators for Gregorian
- ADDED add method for Gregorian
- REFACTORED and ADDED more tests
- CHANGED toString() implementation
- REFACTORED and ADDED docs
-
0.6.328 Aug 2019Release notes
Open source →- ADDED Travis CI to project
- ADDED Codecov code coverage to project
- FIXED docs
-
0.6.228 Jun 2019 -
0.6.128 Jun 2019 -
0.6.027 Jun 2019 -
0.5.505 May 2019 -
0.5.403 May 2019 -
0.5.301 May 2019 -
0.5.224 Mar 2019 -
0.5.121 Feb 2019 -
0.5.010 Feb 2019 -
0.4.302 Feb 2019 -
0.4.224 Jan 2019 -
0.4.114 Jan 2019 -
0.3.109 Jan 2019Release notes
Open source →- ADDED toDateTime
- CHANGED fromDate name to fromDateTime
- ADDED now factory
-
0.3.007 Jan 2019 -
0.2.117 Dec 2018 -
0.2.017 Dec 2018 -
0.1.314 Dec 2018Nothing published for this version
-
0.1.114 Dec 2018Nothing published for this version
-
0.1.009 Dec 2018Nothing published for this version