[Overview][Constants][Procedures and functions] | Reference for unit 'dateutils' (#rtl) |
Raise an EConvertError exception when a Year,Month,NthDayofWeek,DayofWeek is invalid.
Source position: dateutil.inc line 380
procedure InvalidDayOfWeekInMonthError( |
const AYear: Word; |
const AMonth: Word; |
const ANthDayOfWeek: Word; |
const ADayOfWeek: Word |
); |
AYear |
|
Year |
AMonth |
|
Month in the year |
ANthDayOfWeek |
|
Nth occurrence of day of week. |
ADayOfWeek |
|
Day of week. |
InvalidDayOfWeekInMonthError raises an EConvertError exception and formats the error message with an appropriate description made up from the parts AYear, Amonth, ANthDayOfWeek and ADayOfWeek.
Normally this function should not be needed, the conversion routines call it when they have received invalid arguments.
|
Raise an EConvertError with an invalid Year, WeekOfyear and DayOfWeek specification |
|
|
Raise an EConvertError about an invalid date-time specification. |
|
|
Raise an EConvertError exception when a day is not a valid day of a year. |
|
|
Raise an EConvertError exception when a Year,Month,WeekOfMonth,DayofWeek is invalid. |
No notes exist for this page yet.