Extend second day to allow for all buses to arrive
This commit is contained in:
parent
3932f8758c
commit
024babaf3f
@ -19,7 +19,7 @@ public class MakkahCity {
|
|||||||
|
|
||||||
private static final PDate lastDayTimeMan = new PDate(
|
private static final PDate lastDayTimeMan = new PDate(
|
||||||
new GregorianCalendar(1442, Calendar.JANUARY, 12, 12, 0, 0),
|
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;
|
private static PDate currenttimeManager = firstDayTimeMan;
|
||||||
@ -134,9 +134,8 @@ public class MakkahCity {
|
|||||||
if (isAllArrived()) allArrivedToHotelsTime = (Date)currenttimeManager.getCurrentTime().clone();
|
if (isAllArrived()) allArrivedToHotelsTime = (Date)currenttimeManager.getCurrentTime().clone();
|
||||||
lastDayTimeMan.step(Calendar.MINUTE, 1);
|
lastDayTimeMan.step(Calendar.MINUTE, 1);
|
||||||
}
|
}
|
||||||
inputListener.stop();
|
//When done show menu to analyze. Exit from menu too.
|
||||||
t.interrupt();
|
startMenu();
|
||||||
System.exit(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void checkInput() {
|
private static void checkInput() {
|
||||||
|
Loading…
Reference in New Issue
Block a user