lib/date-utils.js
function(year, month, day) {
    var dayOfWeek = this.createDate(year, month, day).getDay();
    return dayOfWeek === this.SATURDAY || dayOfWeek === this.SUNDAY;
  }
function(year, month, day) {
    var dayOfWeek = this.createDate(year, month, day).getDay();
    return dayOfWeek === this.SATURDAY || dayOfWeek === this.SUNDAY;
  }
function ( year , month , day ) { var dayOfWeek = this . createDate ( year , month , day ) . getDay ( ) ; return dayOfWeek === this . SATURDAY || dayOfWeek === this . SUNDAY ; }
Checks if a date falls on a weekend.
@param {number} year
@param {number} month
@param {number} day
@return {boolean}
Checks if a date falls on a weekend .