code: function(weekBeginDate) {
          var overlaps = false;
          var nextWeek = this.add(weekBeginDate, this.DAY, 6);
          if (nextWeek.getFullYear() != weekBeginDate.getFullYear()) {
              overlaps = true;
          }
          return overlaps;
      }
docs: Determines if a given week overlaps two different years.
  @method isYearOverlapWeek
  @param {Date} weekBeginDate The JavaScript Date representing the first day of the week.
  @return {Boolean} true if the date overlaps two different years.