[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Internally used class for converting float to datetime
Source position: fpexprpars.pp line 425
type TFloatToDateTimeNode = class(TFPConvertNode) |
||
public |
||
procedure Check; override; |
|
Validate the float to datetime conversion |
function NodeType; override; |
|
Get the result type for float to datetime conversion |
procedure GetNodeValue(); override; |
|
Convert float value to datetime |
end; |
|
Internally used class for converting float to datetime |
|
| | | ||
|
Internally used class for type conversion operations |
|
| | | ||
|
Internally used class for unary operations with single operand |
|
| | | ||
|
Class for representing nodes in expression trees |
|
| | | ||
The TFloatToDateTimeNode conversion node class handles the conversion of floating-point values to date/time values in expressions. It supports the standard Pascal datetime representation where the integer part represents days and the fractional part represents time.
The class enables precise datetime calculations by allowing floating-point values to represent both date and time components in a single numeric value. This is particularly useful for calculations involving time intervals and fractional days.
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.
|
Class for representing nodes in expression trees |