Class DateConstant
- Assembly
- TimeCockpit.Data.dll
AST Node representing a Date value.
public class DateConstant : Constant
- Inheritance
-
ObjectDateConstant
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
DateConstant(DateTime)
Initializes a new instance of the DateConstant class.
public DateConstant(DateTime value)
Parameters
valueDateTimeThe date being initialized.
Properties
Value
Gets the value of the constant.
public DateTime Value { get; }
Property Value
- DateTime
Methods
Accept(Visitor)
Dispatches to the correct VisitQuery(Query) method.
public override Node Accept(Visitor visitor)
Parameters
visitorVisitorThe visitor to dispatch to.
Returns
- Node
Returns the value returned by the call to VisitQuery(Query)