IsCalendarLeapYear function
Deprecated. Identifies whether the specified year is a leap year within the given era for the specific calendar.
Syntax
BOOL IsCalendarLeapYear(
_In_ CALID calId,
_In_ UINT year,
_In_ UINT era
);
Parameters
-
calId [in]
-
The calendar identifier to use for checking leap year.
-
year [in]
-
The year to check.
-
era [in]
-
The era to check.
Return value
Returns TRUE if the specified year is a leap year, or FALSE otherwise. To get extended error information, the application can call GetLastError, which can return one of the following error codes:
- ERROR_INVALID_PARAMETER. Any of the parameter values was invalid.
Remarks
This function does not have an associated header file or library file. The application can call LoadLibrary with the DLL name (Kernel32.dll) to obtain a module handle. It can then call GetProcAddress with that module handle and the name of this function to get the function address.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
DLL |
|
See also