public method ExecutionTimeEvent.create
Overview
Constructs a new instance of the class and sets the properties of the instance
Declaration
function create(name, eventDate, duration)
public static ExecutionTimeEvent create(String name, Date eventDate, int duration);
public static ExecutionTimeEvent create(string name, DateTime eventDate, int duration);
Parameters
| Name | Description |
|---|---|
| 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
Details
Declared in ExecutionTimeEvent