static public method TimeframeUnit.fromString

Brief

Takes a string input representing a time frame unit and returns an integer representation of that unit

Declaration

protojavascriptjavacsharp
public static fromString(unit : string) : int

Parameters
unit

A time frame unit

Returns

The method returns an integer that represents a time frame unit

Details

Declared in TimeframeUnit

back