Static
Readonly
AdjustDate and time are returned as a Coordinated Universal Time (UTC). If the input string denotes a local time, through a time zone specifier or System.Globalization.DateTimeStyles.AssumeLocal, 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 System.Globalization.DateTimeStyles.AssumeUniversal, no conversion occurs. If the input string does not denote a local or UTC time, no conversion occurs and the resulting System.DateTime.Kind property is System.DateTimeKind.Unspecified.
Static
Readonly
AllowExtra white-space characters in the middle of the string must be ignored during parsing, except if they occur in the System.Globalization.DateTimeFormatInfo format patterns.
Static
Readonly
AllowLeading white-space characters must be ignored during parsing, except if they occur in the System.Globalization.DateTimeFormatInfo format patterns.
Static
Readonly
AllowTrailing white-space characters must be ignored during parsing, except if they occur in the System.Globalization.DateTimeFormatInfo format patterns.
Static
Readonly
AllowExtra white-space characters anywhere in the string must be ignored during parsing, except if they occur in the System.Globalization.DateTimeFormatInfo format patterns. This value is a combination of the System.Globalization.DateTimeStyles.AllowLeadingWhite, System.Globalization.DateTimeStyles.AllowTrailingWhite, and System.Globalization.DateTimeStyles.AllowInnerWhite values.
Static
Readonly
AssumeIf no time zone is specified in the parsed string, the string is assumed to denote a local time.
Static
Readonly
AssumeIf no time zone is specified in the parsed string, the string is assumed to denote a UTC.
Static
Readonly
NoIf 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.
Static
Readonly
NoneDefault formatting options must be used. This value represents the default style for the Parse(s), System.DateTime.ParseExact|ParseExact(s, format, provider), and TryParse(s, result) methods.
Static
Readonly
RoundtripThe System.DateTimeKind field of a date is preserved when a System.DateTime object is converted to a string using the "o" or "r" standard format specifier, and the string is then converted back to a System.DateTime object.
Determines whether one or more bit fields are set in the current instance.
An enumeration value.
true if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, false.
Static
EqualsDetermines whether the specified object instances are considered equal.
The first object to compare.
The second object to compare.
true if the objects are considered equal; otherwise, false. If both objA and objB are null, the method returns true.
Perform And operation on enum values.
Rest
...rest: Enum[]The other enum values.
The result.
Perform Or operation on enum values.
Rest
...rest: Enum[]The other enum values.
The result.
Perform Xor operation on enum values.
Rest
...rest: Enum[]The other enum values.
The result.
Defines the formatting options that customize string parsing for some date and time parsing methods.