def sched_timing_today( self, created_secs: int, created_mins_west: Optional[int], now_mins_west: Optional[int], rollover: Optional[int], ) -> SchedTimingToday: if created_mins_west is not None: crt_west = pb.OptionalInt32(val=created_mins_west) else: crt_west = None if now_mins_west is not None: now_west = pb.OptionalInt32(val=now_mins_west) else: now_west = None if rollover is not None: roll = pb.OptionalInt32(val=rollover) else: roll = None return self._run_command( pb.BackendInput(sched_timing_today=pb.SchedTimingTodayIn( created_secs=created_secs, now_secs=intTime(), created_mins_west=crt_west, now_mins_west=now_west, rollover_hour=roll, ))).sched_timing_today
def sched_timing_today(self, start: int, end: int, offset: int, rollover: int) -> SchedTimingToday: return self._run_command( pb.BackendInput(sched_timing_today=pb.SchedTimingTodayIn( created=start, now=end, minutes_west=offset, rollover_hour=rollover, ))).sched_timing_today
def sched_timing_today( self, created_secs: int, created_mins_west: int, now_secs: int, now_mins_west: int, rollover: int, ) -> SchedTimingToday: return self._run_command( pb.BackendInput(sched_timing_today=pb.SchedTimingTodayIn( created_secs=created_secs, created_mins_west=created_mins_west, now_secs=now_secs, now_mins_west=now_mins_west, rollover_hour=rollover, ))).sched_timing_today