*/
public Integer getAvailableRooms(IKategorie category) {
try {
java.sql.Date ar = new java.sql.Date(dateformatter.parse(dateAdapter(getArrival())).getTime());
java.sql.Date de = new java.sql.Date(dateformatter.parse(dateAdapter(getDeparture())).getTime());
ModelZimmer modelzimmer = new ModelZimmer();
return modelzimmer.getVerfuegbareZimmer(category, ar, de).size();
} catch (ParseException ex) {
return 0;
} catch (DatabaseException e) {
return 0;