static public method ExecutionTimeEvent.createConstructs a new instance of the class and sets the properties of the instance
Declaration
protojavascriptjavacsharppublic static create(name : string, eventDate : datetime, duration : int) : ExecutionTimeEvent
| Parameters | |
name |
A string that represents the name of the event |
eventDate |
The event date |
duration |
An integer property that represents the length of time in milliseconds for the event being tracked |
Returns
The method returns an instance of ExecutionTimeEvent class
See also: ExecutionTimeEvent
Declared in ExecutionTimeEvent