Class DateTimeConstant
AST Node representing a DateTime 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 DateTimeConstant : Constant
Constructors
DateTimeConstant(DateTime)
Initializes a new instance of the DateTimeConstant class.
Declaration
public DateTimeConstant(DateTime value)
Parameters
Type | Name | Description |
---|---|---|
System.DateTime | value | The value of the constant. |
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) call.
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). |