Creates a new Time object that contains the date from this Time object and the time of day from another Time object.
public Time setTimeOfDay( Time timeOfDay )
timeOfDay
A Time object that contains the time that you want to combine with the current Time object's date values.
Returns a new Time object that is a combination of the time from the timeOfDay parameter and the date from the current Time object.
Use this method to create a new Time object that is a combination of two different Time objects.
See Also setDate