toLocalDate

fun PersianDate.toLocalDate(): LocalDate

Converts this Persian date to a Gregorian LocalDate.

Throws

if PersianDate.day exceeds the month length.