Calendar.prototype.goPrevMonth = function()

in saga-web/src/main/resources/static/js/date.js [389:402]


Calendar.prototype.goPrevMonth = function (e) {
  if (this.year == this.beginYear && this.month == 0) {
    return;
  }
  this.month--;
  if (this.month == -1) {
    this.year--;
    this.month = 11;
  }
  this.date = new Date(this.year, this.month, 1, this.getHour(), this
  .getMinute(), this.getSecond());
  this.changeSelect();
  this.bindData();
}