RAD Studio VCL Reference
|
Indicates whether a specified year and day of the year represent a valid date.
function IsValidDateDay(const AYear: Word; const ADayOfYear: Word): Boolean;
Boolean IsValidDateDay(const Word AYear, const Word ADayOfYear);
IsValidDateDay returns true if
AYear falls in the range from 1 to 9999 inclusive.
ADay falls in the range from1 to the number of days in the specified year.
Otherwise, IsValidDateDay returns false.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|