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