class Timeframe

Parents

object

Brief
The class of the time frames
Public Methods
getSize Gets the size of the time frame
getUnit Gets the type of the time frame
Timeframe This method is a constructor for the class of the time frames. It initializes the properties with default values and does not return any values
create Creates a new instance of the class of the time frames with the specified unit and size parameters
toString Returns a string representation of the object, which includes the size and unit properties. This string can be used to display information about the object, or to compare objects