[]
        
(Showing Draft Content)

C1.Win.Input.DateTimeStyles

DateTimeStyles Enum

Specifies parameters for parsing a datetime string.

Namespace: C1.Win.Input
Assembly: C1.Win.Input.8.dll
Syntax
[Flags]
public enum DateTimeStyles

Fields

Name Description
AllowInnerWhite

Indicates that extra white space characters in the middle of the string must be ignored during parsing.

AllowLeadingWhite

Indicates that leading white space characters must be ignored during parsing.

AllowTrailingWhite

Indicates that trailing white space characters must be ignored during parsing.

AllowWhiteSpaces

Indicates that extra white space characters anywhere in the string must be ignored during parsing.

NoCurrentDateDefault

Indicates that, 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.

None

Indicates that the default formatting options must be used.