using System; using System.Runtime.InteropServices; namespace System.Globalization { /// Defines the formatting options that customize string parsing for the and methods. // Token: 0x02000182 RID: 386 [ComVisible(true)] [Flags] [Serializable] public enum DateTimeStyles { /// Default formatting options must be used. This value represents the default style for , , and . // Token: 0x04000548 RID: 1352 None = 0, /// Leading white-space characters must be ignored during parsing, except if they occur in the format patterns. // Token: 0x04000549 RID: 1353 AllowLeadingWhite = 1, /// Trailing white-space characters must be ignored during parsing, except if they occur in the format patterns. // Token: 0x0400054A RID: 1354 AllowTrailingWhite = 2, /// Extra white-space characters in the middle of the string must be ignored during parsing, except if they occur in the format patterns. // Token: 0x0400054B RID: 1355 AllowInnerWhite = 4, /// Extra white-space characters anywhere in the string must be ignored during parsing, except if they occur in the format patterns. This value is a combination of the , , and values. // Token: 0x0400054C RID: 1356 AllowWhiteSpaces = 7, /// If the parsed string contains only the time and not the date, the parsing methods assume the Gregorian date with year = 1, month = 1, and day = 1. If this value is not used, the current date is assumed. // Token: 0x0400054D RID: 1357 NoCurrentDateDefault = 8, /// Date and time are returned as a Coordinated Universal Time (UTC). If the input string denotes a local time, through a time zone specifier or , the date and time are converted from the local time to UTC. If the input string denotes a UTC time, through a time zone specifier or , no conversion occurs. If the input string does not denote a local or UTC time, no conversion occurs and the resulting property is . // Token: 0x0400054E RID: 1358 AdjustToUniversal = 16, /// If no time zone is specified in the parsed string, the string is assumed to denote a local time. // Token: 0x0400054F RID: 1359 AssumeLocal = 32, /// If no time zone is specified in the parsed string, the string is assumed to denote a UTC. // Token: 0x04000550 RID: 1360 AssumeUniversal = 64, /// The field of a date is preserved when a object is converted to a string using the o or r standard format specifier and the string is then converted back to a object. // Token: 0x04000551 RID: 1361 RoundtripKind = 128 } }