Utilities.IsLeapYear Method

Applies to TestComplete 14.71, last modified on April 22, 2021
This method is obsolete. See the Remarks section below.

Description

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

Declaration

Utilities.IsLeapYear(Year)

Year [in]    Required    Integer    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

Year

Specifies the desired year.

Result Value

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

Remarks

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