public Appointment setEnd(Date value) { 
      if (value == null)
        this.end = null;
      else {
        if (this.end == null)
          this.end = new InstantType();
        this.end.setValue(value);
      }
      return this;
    }
public Appointment setEnd ( Date value ) { if ( value == null ) this . end = null ; else { if ( this . end == null ) this . end = new InstantType ( ) ; this . end . setValue ( value ) ; } return this ; }
@param value Date/Time that the appointment is to conclude.