code: function(value) {
        this.removeAllValues();
        if (typeof(value) === 'object' && 'icaltype' in value) {
          this.resetType(value.icaltype);
        }
  
        if (this.isDecorated) {
          this._setDecoratedValue(value, 0);
        } else {
          this.jCal[VALUE_INDEX] = value;
        }
      }
docs: Sets the current value of the property. If this is a multi-value
  property, all other values will be removed.
  
  @param {String|Object} value     New property value.