Utilities.IsLeapYear Method

Applies to TestComplete 14.30, last modified on November 21, 2019
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