plugins/calendar.js
function(offset) {
			var month = this.getOffsetMonth(offset)
			  , year = this.getOffsetYear(offset)

			// checks to see if february is a leap year otherwise return the respective # of days
			return (month == 1 && !(year & 3) && (year % 1e2 || !(year % 4e2))) ? 29 : this.daysInMonth[month]
		}
function(offset) {
			var month = this.getOffsetMonth(offset)
			  , year = this.getOffsetYear(offset)

			// checks to see if february is a leap year otherwise return the respective # of days
			return (month == 1 && !(year & 3) && (year % 1e2 || !(year % 4e2))) ? 29 : this.daysInMonth[month]
		}
function ( offset ) { var month = this . getOffsetMonth ( offset ) , year = this . getOffsetYear ( offset ) // checks to see if february is a leap year otherwise return the respective # of days return ( month == 1 && ! ( year & 3 ) && ( year % 1e2 || ! ( year % 4e2 ) ) ) ? 29 : this . daysInMonth [ month ] }
Returns the current number of days in the month
@param integer Month offset for multi-pane implementation
Returns the current number of days in the month