Validation service.
validateDate([customViewFormatProvider]);
Function returns validator on valid date.
Param | Type | Details |
---|---|---|
customViewFormatProvider
(optional)
|
String |
Custom view format provider passed from directive. |
validateMinDate(minDateInISOProvider, customViewFormat, customModelFormat);
Function returns validation on min date.
Param | Type | Details |
---|---|---|
minDateInISOProvider | string function(): string |
Date in ISO format provider. |
customViewFormat | string= function(): string= |
Custom view format provider passed from directive. |
customModelFormat | string= function(): string= |
Custom model format provider passed from directive. |
validateMaxDate(maxDateInISOProvider, customViewFormat, customModelFormat);
Function returns validation on max date.
Param | Type | Details |
---|---|---|
maxDateInISOProvider | string function(): string |
Date in ISO format provider. |
customViewFormat | string= function(): string= |
Custom view format provider passed from directive. |
customModelFormat | string= function(): string= |
Custom model format provider passed from directive. |