-Explicit enum values
This commit is contained in:
@@ -35,22 +35,22 @@ namespace Newtonsoft.Json
|
||||
/// <summary>
|
||||
/// Treat as local time. If the <see cref="DateTime"/> object represents a Coordinated Universal Time (UTC), it is converted to the local time.
|
||||
/// </summary>
|
||||
Local,
|
||||
Local = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Treat as a UTC. If the <see cref="DateTime"/> object represents a local time, it is converted to a UTC.
|
||||
/// </summary>
|
||||
Utc,
|
||||
Utc = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Treat as a local time if a <see cref="DateTime"/> is being converted to a string.
|
||||
/// If a string is being converted to <see cref="DateTime"/>, convert to a local time if a time zone is specified.
|
||||
/// </summary>
|
||||
Unspecified,
|
||||
Unspecified = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Time zone information should be preserved when converting.
|
||||
/// </summary>
|
||||
RoundtripKind
|
||||
RoundtripKind = 3
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user