diffHour method

int diffHour(
  1. DateTime d
)

Implementation

int diffHour(DateTime d) {
  return d.duration(this).inHours;
}