how to compare time exist between two time in android : String time1="09-00 AM"; String time2="07-00 PM";

String date=  15-09-2017 04:04:33



    String time1 = "09-00 AM";
    	String time2 = "07-00 PM";
    
    	public static void main(String[] args) {
    		try {
    			DateFormat df = new SimpleDateFormat("HH:mm:SS");
    			Date time1 = df.parse("09-00 AM");
    			Date time2 = df.parse("07-00 PM");
    			Date date = new Date();
    			SimpleDateFormat sf = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
    			sf.format(date);
    			TimeZone tz1 = TimeZone.getTimeZone("PST");
    			Date c = shiftTimeZone(date, tz1);
    			System.out.println("Format :   " + new SimpleDateFormat("HH:mm:SS").format(c));
    
    			System.out.println(time1 + "" + time2);
    		} catch (ParseException e) {
    			// TODO Auto-generated catch block
    			e.printStackTrace();
    		}



how i will compare that date time is exist between time1 and 
time2 please suggest me how i will check this i am
 not able to split time or
 merge with date.
for that i am trying to Convert time1 and time2 in Date object in HH:mm:SS please suggest me ho 
 will do this .