//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // // amirhmy // markash //------------------------------------------------------------------------------ namespace System.Data { using System; /// /// Gets the DateTimeMode of a DateTime object. /// public enum DataSetDateTime { /// /// The datetime column in Local DateTimeMode stores datetime in Local. Adjusts Utc/Unspecifed to Local. Serializes as Local /// Local = 1, /// /// The datetime column in Unspecified DateTimeMode stores datetime in Unspecified. Adjusts Local/Utc to Unspecified. Serializes as Unspecified with no offset across timezones /// Unspecified = 2, /// /// This is the default. The datetime column in UnspecifiedLocal DateTimeMode stores datetime in Unspecfied. Adjusts Local/Utc to Unspecified. Serializes as Unspecified but applying offset across timezones /// UnspecifiedLocal = 3, //Unspecified while storing and Local when serializing. -> DataSetDateTime.Unspecified | DataSetDateTime.Local /// /// /// The datetime column in Utc DateTimeMode stores datetime in Utc. Adjusts Local/Unspecified to Utc. Serializes as Utc /// /// Utc = 4, } }