Class ThaiSolarCal
Extends
Calendar.
Construct a new Thai solar calendar object. This class encodes information about
a Thai solar calendar.
Defined in: ThaiSolarCal.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
ThaiSolarCal(options)
|
| Method Attributes | Method Name and Description |
|---|---|
|
isLeapYear(year)
Return true if the given year is a leap year in the Thai solar calendar.
|
Class Detail
ThaiSolarCal(options)
- Parameters:
- {Object=} options
- Options governing the construction of this instance
Method Detail
{boolean}
isLeapYear(year)
Return true if the given year is a leap year in the Thai solar calendar.
The year parameter may be given as a number, or as a ThaiSolarDate object.
- Parameters:
- {number|ThaiSolarDate} year
- the year for which the leap year information is being sought
- Returns:
- {boolean} true if the given year is a leap year