hoursToDays property

double get hoursToDays

Transform number of hours into days

Implementation

double get hoursToDays {
  // 24 hours = 1 day
  if (isNullOrZero) {
    return 0;
  } else {
    return (this * Duration.hoursPerDay).toDouble();
  }
}