Creates a new Time object that represents the number of milliseconds after the time that this Time object represents.
public Time addMillis( long interval )
interval
A long value that represents the number of milliseconds to add to the current time.
Returns a Time object representing the new time.
Time objects cannot be altered. Use the addMillis method to create a new Time object whose time is based on the current Time object but incremented by the number of milliseconds specified in interval.
See Also addHours, addMinutes, addSeconds