HijriDate.fromDateTime constructor
- DateTime dateTime
The Hijri date of the calendar day of dateTime on
IranianHijri.official; the time of day is ignored.
Throws ArgumentError outside the supported range.
Implementation
factory HijriDate.fromDateTime(DateTime dateTime) =>
IranianHijri.official.fromDateTime(dateTime);