class TimeframeUnit| Parents | |
|
|
|
The class with all unit types of time frames
| Static Public Properties | |
|
Time frame: day |
|
|
Time frame: hour |
|
|
Time frame: minute |
|
|
Time frame: month |
|
|
Time frame: tick |
|
|
Time frame: unknown |
|
|
Time frame: week |
|
|
Time frame: year |
|
| Static Public Methods | |
|
Takes a string input representing a time frame unit and returns an integer representation of that unit |
|
|
Takes an integer input representing a time frame unit and returns a string representation of that unit. If the input value matches one of the predefined constants in the class, the function returns the corresponding string representation. If the input value does not match any of the predefined constants, the function returns 'unknown'. This function is useful for displaying time values in a human-readable format |
|