src/main/java/pt/ipv/qualifica/myclinic/beans/ConsultasManagedBean.java
/**
     * Formata data 
     * @param data
     * @return string na forma definida na sdf
     */
Formata data
@param data
@return string na forma definida na sdf
Formata data @param data @return string na forma definida na sdf
public String dataFormatada(Date data) {
		if(data != null){
			return (new SimpleDateFormat("yyyy-MM-dd HH:mm")).format(data);
		}
		return "";  
    }
public String dataFormatada ( Date data ) { if ( data != null ) { return ( new SimpleDateFormat ( "yyyy-MM-dd HH:mm" ) ) . format ( data ) ; } return "" ; }
Formata data
 @param data
 @return string na forma definida na sdf
Formata data @param data @return string na forma definida na sdf