ConvertToMinutes method

int ConvertToMinutes()
Converts the time into a number of minutes since 12:00AM.

Implementation

int ConvertToMinutes() {
  return this.Minutes + (this.Hours * 60);
}