-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDayOfWeekMonthlyOrdinal.cs
More file actions
55 lines (48 loc) · 2.09 KB
/
DayOfWeekMonthlyOrdinal.cs
File metadata and controls
55 lines (48 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
using System.Runtime.Serialization;
namespace RapidField.SolidInstruments.Core
{
/// <summary>
/// Indicates the ordinal position of a <see cref="DayOfWeek" /> within a month.
/// </summary>
[DataContract]
public enum DayOfWeekMonthlyOrdinal : Int32
{
/// <summary>
/// The ordinal position of the <see cref="DayOfWeek" /> is not specified.
/// </summary>
[EnumMember]
Unspecified = 0,
/// <summary>
/// Indicates that the <see cref="DayOfWeek" /> represents the first occurrence in the month.
/// </summary>
[EnumMember]
First = 1,
/// <summary>
/// Indicates that the <see cref="DayOfWeek" /> represents the second occurrence in the month.
/// </summary>
[EnumMember]
Second = 2,
/// <summary>
/// Indicates that the <see cref="DayOfWeek" /> represents the third occurrence in the month.
/// </summary>
[EnumMember]
Third = 3,
/// <summary>
/// Indicates that the <see cref="DayOfWeek" /> represents the fourth but not the last occurrence in the month. Month and
/// day pairs for which there are only four occurrences in a month use <see cref="Last" /> to identify the fourth and last
/// occurrence.
/// </summary>
[EnumMember]
Fourth = 4,
/// <summary>
/// Indicates that the <see cref="DayOfWeek" /> represents the last occurrence in the month. Month and day pairs for which
/// there are only four occurrences in a month use <see cref="Last" /> to identify the fourth and last occurrence.
/// </summary>
[EnumMember]
Last = 5
}
}