imperial_persian_date 0.0.1
imperial_persian_date: ^0.0.1 copied to clipboard
A Flutter package for Imperial Persian (Shahanshahi) calendar. Converts between Gregorian, Solar Hijri (Shamsi), and Imperial Persian dates. Current Imperial year = Shamsi year + 1180.
0.0.1 #
- Initial release of Imperial Persian Date package
- Complete implementation of Imperial Persian (Shahanshahi) calendar system
- Seamless conversion between Gregorian, Shamsi (Solar Hijri), and Imperial Persian calendars
- Comprehensive date formatting with customizable patterns
- Full support for Persian and English month/weekday names
- Date arithmetic operations: addYears, addMonths, addDays
- Date comparison methods: isBefore, isAfter, isAtSameMomentAs
- Accurate leap year calculations using 33-year cycle algorithm
- Julian Day Number support for astronomical calculations
- Immutable date objects with copyWith functionality
- Null-safe implementation
- API compatibility with shamsi_date package
- Complete example application demonstrating all features
- Comprehensive documentation in English