2020-05-12 19:10:35 -07:00
|
|
|
namespace Jellyfin.Data.Enums
|
2018-12-27 16:27:57 -07:00
|
|
|
{
|
2020-08-31 20:07:15 -07:00
|
|
|
/// <summary>
|
|
|
|
/// An enum that represents a day of the week, weekdays, weekends, or all days.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
public enum DynamicDayOfWeek
|
|
|
|
{
|
2020-08-31 20:07:15 -07:00
|
|
|
/// <summary>
|
|
|
|
/// Sunday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Sunday = 0,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Monday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Monday = 1,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Tuesday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Tuesday = 2,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Wednesday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Wednesday = 3,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Thursday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Thursday = 4,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Friday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Friday = 5,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Saturday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Saturday = 6,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// All days of the week.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Everyday = 7,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// A week day, or Monday-Friday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Weekday = 8,
|
2020-08-31 20:07:15 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Saturday and Sunday.
|
|
|
|
/// </summary>
|
2018-12-27 16:27:57 -07:00
|
|
|
Weekend = 9
|
|
|
|
}
|
|
|
|
}
|