|
|
|
@ -325,8 +325,13 @@ public class RaceXMLCreator {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* sets the current race time of the xml
|
|
|
|
|
|
|
|
* @param raceXML race xml to alter
|
|
|
|
|
|
|
|
* @param racePrestartTime prestart time
|
|
|
|
|
|
|
|
* @param racePreparatoryTime preparatory time
|
|
|
|
|
|
|
|
* @deprecated this should be used from the RaceXMLCreator not from this function
|
|
|
|
|
|
|
|
*/
|
|
|
|
public static void setRaceXMLAtCurrentTimeToNow(XMLRace raceXML, long racePrestartTime, long racePreparatoryTime){
|
|
|
|
public static void setRaceXMLAtCurrentTimeToNow(XMLRace raceXML, long racePrestartTime, long racePreparatoryTime){
|
|
|
|
//The start time is current time + 4 minutes. prestart is 3 minutes, and we add another minute.
|
|
|
|
//The start time is current time + 4 minutes. prestart is 3 minutes, and we add another minute.
|
|
|
|
long millisecondsToAdd = racePrestartTime + racePreparatoryTime;
|
|
|
|
long millisecondsToAdd = racePrestartTime + racePreparatoryTime;
|
|
|
|
|