Utilities.IsLeapYear Method

Applies to TestComplete 12.60, last modified on September 17, 2018
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
aqDateTime.IsLeapYear Method
aqDateTime.GetYear Method
aqDateTime.GetMonth Method
aqDateTime.GetDay Method

Highlight search results