-
-
Notifications
You must be signed in to change notification settings - Fork 299
/
TimestampFormat.cs
43 lines (35 loc) · 980 Bytes
/
TimestampFormat.cs
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
namespace DSharpPlus;
/// <summary>
/// Denotes the type of formatting to use for timestamps.
/// </summary>
public enum TimestampFormat : byte
{
/// <summary>
/// A short date. e.g. 18/06/2021.
/// </summary>
ShortDate = (byte)'d',
/// <summary>
/// A long date. e.g. 18 June 2021.
/// </summary>
LongDate = (byte)'D',
/// <summary>
/// A short date and time. e.g. 18 June 2021 03:50.
/// </summary>
ShortDateTime = (byte)'f',
/// <summary>
/// A long date and time. e.g. Friday 18 June 2021 03:50.
/// </summary>
LongDateTime = (byte)'F',
/// <summary>
/// A short time. e.g. 03:50.
/// </summary>
ShortTime = (byte)'t',
/// <summary>
/// A long time. e.g. 03:50:15.
/// </summary>
LongTime = (byte)'T',
/// <summary>
/// The time relative to the client. e.g. An hour ago.
/// </summary>
RelativeTime = (byte)'R'
}