Extend second day to allow for all buses to arrive

This commit is contained in:
HeshamTB 2020-12-03 02:43:13 +03:00
parent 3932f8758c
commit 024babaf3f
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -19,7 +19,7 @@ public class MakkahCity {
private static final PDate lastDayTimeMan = new PDate(
new GregorianCalendar(1442, Calendar.JANUARY, 12, 12, 0, 0),
new GregorianCalendar(1442, Calendar.JANUARY, 12, 22, 0, 0)
new GregorianCalendar(1442, Calendar.JANUARY, 12, 23, 0, 0)
);
private static PDate currenttimeManager = firstDayTimeMan;
@ -134,9 +134,8 @@ public class MakkahCity {
if (isAllArrived()) allArrivedToHotelsTime = (Date)currenttimeManager.getCurrentTime().clone();
lastDayTimeMan.step(Calendar.MINUTE, 1);
}
inputListener.stop();
t.interrupt();
System.exit(0);
//When done show menu to analyze. Exit from menu too.
startMenu();
}
private static void checkInput() {