Examples/AirlineFaresNew/src/main/java/com/cs6240/airline/AirlineSanity.java
/*
	 * This method takes a time in HHMM format and returns the minute value
	 * as HH*60 + MM
	 * Ex: 1030 returns 630.
	 */
This method takes a time in HHMM format and returns the minute value
as HH*60 + MM
Ex: 1030 returns 630.
This method takes a time in HHMM format and returns the minute value as HH * 60 + MM Ex : 1030 returns 630 .
private static int calculateMinutes(Integer time) {
		int hours = time/100;
		int minutes = time%100;
		return hours* 60 + minutes;
	}
private static int calculateMinutes ( Integer time ) { int hours = time / 100 ; int minutes = time % 100 ; return hours * 60 + minutes ; }
This method takes a time in HHMM format and returns the minute value
 as HH*60 + MM
 Ex: 1030 returns 630.
This method takes a time in HHMM format and returns the minute value as HH * 60 + MM Ex : 1030 returns 630 .