RegimeApuracaoValidations class
Validações específicas para o serviço de Regime de Apuração
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
isAnoFormatoValido(
int ano) → bool - Valida se o ano tem 4 dígitos
-
isAnoValido(
int ano) → bool - Valida se o ano está dentro dos limites permitidos
-
isDescritivoCoerenteComTipo(
int tipoRegime, String descritivo) → bool - Valida se o descritivo está coerente com o tipo de regime
-
isDescritivoRegimeValido(
String descritivo) → bool - Valida se o descritivo do regime é válido
-
isTipoRegimeValido(
int tipoRegime) → bool - Valida se o tipo de regime é válido