Update TimeSchedule.java

Updated to work with the servermain, main changes are the timebetween and timeuntil parts