static public method Timeframe.createCreates a new instance of the class of the time frames with the specified unit and size parameters
Declaration
protojavascriptjavacsharppublic static create(unit : int, size : int) : Timeframe
| Parameters | |
unit |
The type of time frame that is being created, such as minutes, hours, days, or ticks |
size |
The length of the time frame in the specified 'unit' |
Returns
The method returns a new instance of the class of the time frames with the specified unit and size parameters
See also: Timeframe
Declared in Timeframe