Files
ersatztv/ErsatzTV.Core/Domain/Scheduling/IAlternateScheduleItem.cs
T
Jason DoveandGitHub effb96a2c2 alternate schedule and template consistency (#2757)
* refactor classic and block schedules to use same alternate schedule selector

* handle start year and end year

* add migrations for classic and block schedules

* allow editing block template start and end year

* add tests that include years

* add date range editing to classic (alternate) schedules

* fix running tests locally

* restore media files load; needed for local folder scanners

* update changelog

* feedback
2026-01-06 12:51:07 -06:00

17 lines
436 B
C#

namespace ErsatzTV.Core.Domain.Scheduling;
public interface IAlternateScheduleItem
{
int Index { get; }
ICollection<DayOfWeek> DaysOfWeek { get; }
ICollection<int> DaysOfMonth { get; }
ICollection<int> MonthsOfYear { get; }
bool LimitToDateRange { get; }
int StartMonth { get; }
int StartDay { get; }
int? StartYear { get; }
int EndMonth { get; }
int EndDay { get; }
int? EndYear { get; }
}