-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathDateOnlyPart.cs
More file actions
24 lines (23 loc) · 851 Bytes
/
Copy pathDateOnlyPart.cs
File metadata and controls
24 lines (23 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
namespace BytecodeApi;
/// <summary>
/// Specifies the subset of a <see cref="System.DateOnly" /> representation.
/// </summary>
public enum DateOnlyPart
{
/// <summary>
/// The full <see cref="System.DateOnly" /> is used.
/// </summary>
Full,
/// <summary>
/// The year and month of the <see cref="System.DateOnly" /> object is used. <see cref="System.DateOnly.Day" /> is set to 1.
/// </summary>
YearMonth,
/// <summary>
/// The year and month of the <see cref="System.DateOnly" /> object is used. <see cref="System.DateOnly.Month" /> is rounded down to the current quarter and <see cref="System.DateOnly.Day" /> is set to 1.
/// </summary>
YearQuarter,
/// <summary>
/// The year is used. <see cref="System.DateOnly.Month" /> and <see cref="System.DateOnly.Day" /> are both set to 1.
/// </summary>
Year
}