Date |
public class DateTimePropertyEvaluator : PropertyEvaluatorBase, IPropertyEvaluator, IPropertyExtractionTreeNode, IEquatable<DateTimePropertyEvaluator>
The DateTimePropertyEvaluator type exposes the following members.
| Name | Description | |
|---|---|---|
| DateTimePropertyEvaluator | Initializes a new instance of the DateTimePropertyEvaluator class |
| Name | Description | |
|---|---|---|
| Children |
Gets a list of child nodes, where each tuple contains the index of the name part and the corresponding child node.
(Inherited from PropertyEvaluatorBase) | |
| CustomFormats | Gets or sets a custom set of date and time formats. When non-empty, the parser tries these formats before attempting a general parse. | |
| DateTimeStyles | Gets or sets the date and time styles used for parsing. The default value is System.Globalization.DateTimeStyles.None. | |
| LCID | Gets or sets the LCID (Locale Identifier) used for parsing the date and time value. The default value is the invariant culture's LCID. | |
| NumberOfIgnoredCharactersAfter | Gets or sets the number of characters to ignore after the value when parsing. This can be useful for skipping suffixes or other non-date characters in the input text. | |
| NumberOfIgnoredCharactersBefore | Gets or sets the number of characters to ignore before the value when parsing. This can be useful for skipping prefixes or other non-date characters in the input text. | |
| PropertyName |
Gets or sets the name of the property to be evaluated. This property is required and must be set during initialization.
(Inherited from PropertyEvaluatorBase) | |
| UseDateTimeOffset | Gets or sets a value indicating whether the parsed value should be returned as a DateTimeOffset instead of a DateTime. |
| Name | Description | |
|---|---|---|
| Evaluate | Evaluates a text and extracts a property name and its value. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ToString | (Overrides PropertyEvaluatorBase.ToString) |