Skip to content

TCurrencyToDateTimeNode

Internally used class for converting currency to datetime

Declaration

Source position: fpexprpars.pp line 443

type

  TCurrencyToDateTimeNode = class(TFPConvertNode)
  public
    procedure Check;
    function NodeType : TResultType;
    procedure GetNodeValue;
  end;

Description

The TCurrencyToDateTimeNode conversion node class handles the conversion of currency values to date/time values in expressions. It treats the currency value as a numeric representation that can be converted to datetime format.

This class is used internally by the TFPExpressionParser class to construct an AST (Abstract Syntax Tree). There is normally no need for you to use or instantiate this class directly.

Methods

Member Visibility Description
Check public Validate the currency to datetime conversion
GetNodeValue public Convert currency value to datetime
NodeType public Get the result type for currency to datetime conversion
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees