parseTimeOfDay2Minute static method

int parseTimeOfDay2Minute(
  1. TimeOfDay time
)

Implementation

static int parseTimeOfDay2Minute(TimeOfDay time) {
  return time.hour * 60 + time.minute;
}