gordias.util.time_period.get_time_range_bounds#

gordias.util.time_period.get_time_range_bounds(time_range: TimeRange, time_units: Unit) tuple[int | float, int | float]#

Return the bounds of the time range.

Parameters:
Returns:

  • start (int | float) – The start of the time range for the given time unit.

  • end (int | float) – The end of the time range for the given time unit.