jellyfin-server/Jellyfin.Data/Enums/DynamicDayOfWeek.cs

59 lines
1.1 KiB
C#
Raw Normal View History

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