-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTimeZone.cs
38 lines (32 loc) · 949 Bytes
/
TimeZone.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
namespace Arex388.TimeZones;
/// <summary>
/// TimeZone object.
/// </summary>
public sealed class TimeZone {
/// <summary>
/// The time zone's abbreviation.
/// </summary>
public string Abbreviation { get; set; } = null!;
/// <summary>
/// The time zone's IANA id.
/// </summary>
public string IanaId { get; set; } = null!;
/// <summary>
/// Flag indicating the time zone is currently in daylight savings.
/// </summary>
public bool IsDaylightSavings { get; set; }
/// <summary>
/// The time zone's UTC offset.
/// </summary>
[Obsolete("Use UtcOffsetTs instead. This will be removed in 2.1.0.")]
public string UtcOffset { get; set; } = null!;
/// <summary>
/// The time zone's UTC offset.
/// </summary>
[Obsolete("This will be renamed to UtcOffset in 2.2.0.")]
public TimeSpan UtcOffsetTs { get; set; }
/// <summary>
/// The time zone's Windows id.
/// </summary>
public string WindowsId { get; set; } = null!;
}