static public method TimeframeUnit.fromStringTakes a string input representing a time frame unit and returns an integer representation of that unit
Declaration
protojavascriptjavacsharppublic static fromString(unit : string) : int
| Parameters | |
unit |
A time frame unit |
Returns
The method returns an integer that represents a time frame unit
Declared in TimeframeUnit