Schedule.shift

Schedule.shift(time, name=None, inplace=False)[source]

Return a schedule shifted forward by time.

Parameters
  • time (int) – Time to shift by.

  • name (Optional[str]) – Name of the new schedule. Defaults to the name of self.

  • inplace (bool) – Perform operation inplace on this schedule. Otherwise return a new Schedule.

Return type

Schedule