DateInput.DateEntry
Class
Represents a parsed date/time component that can be evaluated into a DateTime.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public abstract class DateInput.DateEntry
Inheritance: objectDateInput.DateEntry
Derived Classes:
Constructors
Creates an entry with its kind and parser context.
C#
public DateEntry(DateInput.DateEntryType type, DateInput parent)
The kind of parsed entry.
parentDateInputThe parser configuration used to interpret it.
Properties
Gets or sets the parser configuration used to interpret this entry.
C#
public DateInput Parent { get; set; }
Gets or sets the entry kind represented by this node.
C#
public DateInput.DateEntryType Type { get; set; }
Methods
Evaluates this entry using a starting date for components that are not supplied in the input.
C#
public abstract DateTime Evaluate(DateTime date)
The starting date used by entries that inherit omitted components.
Returns:The resulting date-time value.
DateInput.DateTimeEntry uses its own current-time seed when evaluating combined input.