HI.
i create a calendar from this library.
But when I take the date as millisecond from 30 esfand, it is equal to 1 farvardin
1774081800000
I checked and found out that 1404 is not a leap year at all.
The year 1403 is a leap year.
The library is wrong in leap years
Maybe this method is wrong :
|
internal fun isPersianLeapYear(persianYear: Int): Boolean = |
HI.
i create a calendar from this library.
But when I take the date as millisecond from 30 esfand, it is equal to 1 farvardin
1774081800000
I checked and found out that 1404 is not a leap year at all.
The year 1403 is a leap year.
The library is wrong in leap years
Maybe this method is wrong :
PrimeCalendar/library/src/main/java/com/aminography/primecalendar/persian/PersianCalendarUtils.kt
Line 281 in c391844