Validate the float to datetime conversion
Source position: fpexprpars.pp line 427
public procedure TFloatToDateTimeNode.Check; override; |
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.