ThaiBuddhistCalendar: IsLeapYear

IsLeapYear

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



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

Parameters

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

Return Values

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

Remarks

A leap year in the Korean calendar occurs when the year is evenly divisible by 4, but not by 100, unless it is divisible by 400.

See Also

Project CorLib Overview

Class ThaiBuddhistCalendar Overview