ThaiBuddhistCalendar: GetMonthsInYear

GetMonthsInYear

Returns the number of months in the specified year in the specified era.



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

Parameters

Year
[ByVal] Long. An integer that represents the year.
Era
[ByRef] Optional. Variant. An integer that represents the era.

Return Values

Long -  The number of months in the specified year in the specified era.

Remarks

This calendar will always return 12.

See Also

Project CorLib Overview

Class ThaiBuddhistCalendar Overview