Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Criar validação de data #1

Closed
igorthurler opened this issue May 5, 2017 · 1 comment
Closed

Criar validação de data #1

igorthurler opened this issue May 5, 2017 · 1 comment

Comments

@igorthurler
Copy link

Possibilitar a verificação de uma data. IfInvalidDate por exemplo.

@pauloanalista
Copy link
Owner

Foi adicionado um novo método chamado
IfNotDate

Só não segui o nome indicado devido todas as outras validações seguirem outro padrão.
Ex:
IfNotCpf
IfNotCnpj
IfNotGuid

Aproveitei e implementei novas regras para adicionar notificação

  • IfNotDate
  • IfNullOrOrInvalidLength
  • IfLengthGreaterThan
  • IfLengthLowerThan

Houve ajustes nas mensagens padrões também.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants