Open Rails

CompareTimes.LatestTime Method

[This is preliminary documentation and subject to change.]

Return the latest time of the two input times, keeping in mind that night/morning is after evening/night

public static int LatestTime(
   int time1,
   int time2
);

See Also

CompareTimes Class | ORTS.Common Namespace