jquery-src/jquery.calendars.mayan.js
function(year, month, day) {
			var date = this._validate(year, month, day, $.calendars.local.invalidDate);
			var jd = date.toJD();
			var haab = this._toHaab(jd);
			var tzolkin = this._toTzolkin(jd);
			return {haabMonthName: this.local.haabMonths[haab[0] - 1],
				haabMonth: haab[0], haabDay: haab[1],
				tzolkinDayName: this.local.tzolkinMonths[tzolkin[0] - 1],
				tzolkinDay: tzolkin[0], tzolkinTrecena: tzolkin[1]};
		}
function(year, month, day) {
			var date = this._validate(year, month, day, $.calendars.local.invalidDate);
			var jd = date.toJD();
			var haab = this._toHaab(jd);
			var tzolkin = this._toTzolkin(jd);
			return {haabMonthName: this.local.haabMonths[haab[0] - 1],
				haabMonth: haab[0], haabDay: haab[1],
				tzolkinDayName: this.local.tzolkinMonths[tzolkin[0] - 1],
				tzolkinDay: tzolkin[0], tzolkinTrecena: tzolkin[1]};
		}
function ( year , month , day ) { var date = this . _validate ( year , month , day , $ . calendars . local . invalidDate ) ; var jd = date . toJD ( ) ; var haab = this . _toHaab ( jd ) ; var tzolkin = this . _toTzolkin ( jd ) ; return { haabMonthName : this . local . haabMonths [ haab [ 0 ] - 1 ] , haabMonth : haab [ 0 ] , haabDay : haab [ 1 ] , tzolkinDayName : this . local . tzolkinMonths [ tzolkin [ 0 ] - 1 ] , tzolkinDay : tzolkin [ 0 ] , tzolkinTrecena : tzolkin [ 1 ] } ; }
Retrieve additional information about a date - Haab and Tzolkin equivalents.
@memberof MayanCalendar
@param year {CDate|number} The date to examine or the year to examine.
@param [month] {number} The month to examine.
@param [day] {number} The day to examine.
@return {object} Additional information - contents depends on calendar.
@throws Error if an invalid date or a different calendar used.
Retrieve additional information about a date - Haab and Tzolkin equivalents .