Time.setTimeOfDay

Overview | Methods | Fields | This Package | All Packages

Time.setTimeOfDay

Creates a new Time object that contains the date from this Time object and the time of day from another Time object.

Syntax

public Time setTimeOfDay( Time timeOfDay )

Parameters

timeOfDay

A Time object that contains the time that you want to combine with the current Time object's date values.

Return Value

Returns a new Time object that is a combination of the time from the timeOfDay parameter and the date from the current Time object.

Remarks

Use this method to create a new Time object that is a combination of two different Time objects.

See Also   setDate