-Explicit enum values

This commit is contained in:
James Newton-King
2014-12-02 00:43:01 +13:00
parent 4a19ecd940
commit 209c10ddde
23 changed files with 181 additions and 181 deletions
+4 -4
View File
@@ -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
}
}