sinergym.utils.common.get_delta_seconds

sinergym.utils.common.get_delta_seconds(year, st_mon, st_day, end_mon, end_day)

Returns the delta seconds between year:st_mon:st_day:0:0:0 and year:end_mon:end_day:24:0:0.

Parameters:
  • st_year (int) – Year.

  • st_mon (int) – Start month.

  • st_day (int) – Start day.

  • end_mon (int) – End month.

  • end_day (int) – End day.

Returns:

Time difference in seconds.

Return type:

float