TFloatToDateTimeNode class
Internally used class for converting float to datetime
Declaration
TFloatToDateTimeNode = class(TFPConvertNode)Inheritance
- TFloatToDateTimeNode
- TFPConvertNode
- TFPUnaryOperator
- TFPExprNode
- TObject
Description
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.
See also
Methods
Check | public | Validate the float to datetime conversion |
NodeType | public | Get the result type for float to datetime conversion |
GetNodeValue | public | Convert float value to datetime |
Inherited
From TFPUnaryOperator (6)
Create Destroy HasAggregate InitAggregate Operand UpdateAggregate
From TFPExprNode (4)
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
