dateOnly method
Returns a DateTime with the date of the original, but time set to midnight.
Implementation
@override
DateTime dateOnly(DateTime date) {
final value = _requireCalendarDate(date, 'date');
return HijriDateTime(value.year, value.month, value.day);
}