relsad.Time.Time.get_unit_quantity#

Time.get_unit_quantity(unit: relsad.Time.TimeUnit)[source]#

Returns the time quantity of the class instance in the given unit

Parameters

unit (TimeUnit) – The time unit

Returns

time_quantity – The time quantity of the class instance in the given unit

Return type

float