Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFloatToDateTimeNode.Check

Validate the float to datetime conversion

Declaration

Source position: fpexprpars.pp line 427

public procedure TFloatToDateTimeNode.Check; override;

Description

The Check method validates that the floating-point value can be safely converted to a datetime value. It checks for valid datetime ranges and ensures that the conversion will not result in invalid date/time values.

The validation helps prevent runtime errors that could occur when attempting to convert floating-point values that are outside the valid datetime range or represent invalid date combinations.


Documentation generated on: Dec 15 2025