now static method

returns the hijri date value based on the current date


final HijriDateTime currentDate = HijriDateTime.now();

Implementation

static HijriDateTime now() {
  final DateTime today = DateTime.now();
  return convertToHijriDate(today);
}