[Overview][Constants][Procedures and functions] Reference for unit 'dateutils' (#rtl)

InvalidDateDayError

Raise an EConvertErrorexception when a day is not a valid day of a year.

Declaration

Source position: dateutil.inc line 378

procedure InvalidDateDayError(

  const AYear: Word;

  const ADayOfYear: Word

);

Arguments

AYear

  

Year

ADayOfYear

  

Invalid day of the year.

Description

InvalidDateDayErrorraises an EConvertErrorexception and formats the error message with an appropriate description made up from the parts AYearand ADayOfYear.

Normally this function should not be needed, the conversion routines call it when they have received invalid arguments.

See also

InvalidDateWeekError

  

Raise an EConvertError with an invalid Year, WeekOfyear and DayOfWeek specification

InvalidDateTimeError

  

Raise an EConvertErrorabout an invalid date-time specification.

InvalidDateMonthWeekError

  

Raise an EConvertErrorexception when a Year,Month,WeekOfMonth,DayofWeek is invalid.

InvalidDayOfWeekInMonthError

  

Raise an EConvertErrorexception when a Year,Month,NthDayofWeek,DayofWeek is invalid.