Sign in Join
FPDoc Onlineexperiment

TIntToDateTimeNode class

In unit fpExprPars

Internally used class for converting integer to datetime

Declaration

pascal
TIntToDateTimeNode = class(TIntConvertNode)

Inheritance

  1. TIntToDateTimeNode
  2. TIntConvertNode
  3. TFPConvertNode
  4. TFPUnaryOperator
  5. TFPExprNode
  6. TObject

Description

The TIntToDateTimeNode conversion node class handles the conversion of integer values to date/time values in expressions. It extends the base conversion functionality to provide integer-to-datetime specific conversion logic.

The class interprets integer values as datetime representations, typically using the standard Pascal datetime encoding where integers represent days since a base date. This allows integration of numeric date calculations with datetime operations.

The conversion enables mathematical operations on dates by treating them as numeric values while maintaining proper datetime semantics and formatting in the final results.

See also

Methods

NodeTypepublicGet the result type for integer to datetime conversion
GetNodeValuepublicInternally used convert integer value to datetime

Inherited

From TIntConvertNode (1)

Check

From TFPUnaryOperator (6)

Create Destroy HasAggregate InitAggregate Operand UpdateAggregate

From TFPExprNode (4)

AsString CheckNodeType IsAggregate NodeValue

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.