code: public static void main(String[] args) {
  		Date date = parseDate("2018/01/07 12:11:10", "yyyy/MM/dd HH:mm:ss");
  		Date date2 = parseDate("2018/01/07 16:12:15", "yyyy/MM/dd HH:mm:ss");
  		System.out.println(date);
  		System.out.println(date2);
  		System.out.println(getHoursDifference(date, date2));
  	}
docs: The main method.
  
  @param args the arguments