GregorianCalendar: IsLeapMonth

IsLeapMonth

Returns a boolean indicating if the specific month is a leap month.



 Public Function IsLeapMonth(
	  ByVal Year As Long,
	  ByVal Month As Long,
	  Optional ByRef Era As Variant ) As Boolean

Parameters

Year
[ByVal] Long. The year the month is in.
Month
[ByVal] Long. The month to check if it is a leap month.
Era
[ByRef] Optional. Variant. The era the year is in.

Return Values

Boolean -  Boolean indication if the month is a leap month.

Remarks

A leap month only exists in a leap year, such as Adar II in the Hebrew calendar. This always returns False.

See Also

Project CorLib Overview

Class GregorianCalendar Overview