Utilities.IsLeapYear Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.


Use the Utilities.IsLeapYear method to determine whether the specified year is a leap year.



Year [in]    Required    Integer    
Result Boolean

Applies To

The method is applied to the following object:


The method has the following parameter:


Specifies the desired year.

Result Value

If the specified year is a leap year, the method returns True. Otherwise, it returns False.


This method is obsolete. It is supported for backward compatibility only. To check whether a particular year is a leap one, use the aqDateTime.IsLeapYear method.

See Also

Working With Dates
IsLeapYear Method
GetYear Method
GetMonth Method
GetDay Method

Highlight search results