getTime Method

Top  Previous  Next

Gets an instance TimeSchedule object that belongs to the DaySchedule.

Syntax

DaySchedule.getTime(ID)

DaySchedule.getTime(name)

Arguments

IDThe integer ID of the TimeSchedule object.
nameA string with the name of the TimeSchedule object.

Return Value

An instance TimeSchedule object if successful, otherwise undefined.

Remarks

If the argument to getTime is a string, it is assumed to be a name; otherwise, it is assumed to be an ID.

Examples

 

See Also