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