Class Index | File Index

Classes


Class ilib.Cal.ThaiSolar

Construct a new Thai solar calendar object. This class encodes information about a Thai solar calendar.

Depends directive: !depends thaisolar.js
Defined in: ilib-dyn-full.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
 
isLeapYear(year)
Return true if the given year is a leap year in the Thai solar calendar.
 
newDateInstance(options)
Return a date instance for this calendar type using the given options.
Class Detail
ilib.Cal.ThaiSolar()
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|ilib.Date.ThaiSolarDate} year
the year for which the leap year information is being sought
Returns:
{boolean} true if the given year is a leap year

{ilib.Date} newDateInstance(options)
Return a date instance for this calendar type using the given options.
Parameters:
{Object} options
options controlling the construction of the date instance
Returns:
{ilib.Date} a date appropriate for this calendar type

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 02 2016 16:00:48 GMT-0800 (PST)