Resolvendo validacao de datas futuras e passadas (resolves #28)