[Overview][Constants][Procedures and functions] |
Raise an EConvertErrorabout an invalid date-time specification.
Source position: line 0
procedure InvalidDateTimeError( |
const AYear: Word; |
const AMonth: Word; |
const ADay: Word; |
const AHour: Word; |
const AMinute: Word; |
const ASecond: Word; |
const AMilliSecond: Word; |
const ABaseDate: TDateTime |
); |
const AYear: Word; |
const AMonth: Word; |
const ADay: Word; |
const AHour: Word; |
const AMinute: Word; |
const ASecond: Word; |
const AMilliSecond: Word |
); |
AYear |
|
Year |
AMonth |
|
Month in the year |
ADay |
|
Day of the month |
AHour |
|
Hour of the day |
AMinute |
|
Minute of the hour |
ASecond |
|
Seconds in the minute |
AMilliSecond |
|
Milliseconds in second |
ABaseDate |
|
Base date time to use when creating the string representing the date/time. Default 0 |
AYear |
|
Year |
AMonth |
|
Month in the year |
ADay |
|
Day of the month |
AHour |
|
Hour of the day |
AMinute |
|
Minute of the hour |
ASecond |
|
Seconds in the minute |
AMilliSecond |
|
Milliseconds in second |
InvalidDateTimeErrorraises an EConvertErrorexception and formats the error message with an appropriate description made up from the parts AYear, AMonth, ADay,AHour, AMinute, ASecondand AMilliSecond.
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 EConvertErrorexception when a day is not a valid day of a year. |
|
|
Raise an EConvertErrorexception when a Year,Month,WeekOfMonth,DayofWeek is invalid. |
|
|
Raise an EConvertErrorexception when a Year,Month,NthDayofWeek,DayofWeek is invalid. |