Class Index | File Index

Classes


Class ThaiSolarCal


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


Defined in: ilib-full-dyn.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.
<deprecated>  
newDateInstance(options)
Return a date instance for this calendar type using the given options.
Class Detail
ThaiSolarCal()
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

<deprecated> {IDate} 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
Deprecated:
Since 11.0.5. Use DateFactory({calendar: cal.getType(), ...}) instead
Returns:
{IDate} a date appropriate for this calendar type

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 02 2016 15:53:55 GMT-0800 (PST)