YearMonthDayIsValidDate Method |
Indicates whether the year, month, and day are a valid representation.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static bool IsValidDate(
int year,
int month,
int day
)
Public Shared Function IsValidDate (
year As Integer,
month As Integer,
day As Integer
) As Boolean
public:
static bool IsValidDate(
int year,
int month,
int day
)
static member IsValidDate :
year : int *
month : int *
day : int -> bool
Parameters
- year
- Type: SystemInt32
The year. - month
- Type: SystemInt32
The month of the year (in the range 1 through 12) - day
- Type: SystemInt32
The day of the month (in the range 1 through the number of days in
month)
Return Value
Type:
Boolean if the representation is valid and
if it is not.
See Also