It defines date range, where control value must be a date in this range.
Validating value and both parameters must have moment models.
Validator has two parameters: 'from' and 'to'.
Note, that 'from' parameter must be less than 'to' parameter.
It can be imported in next way: import {{'{'}}IMDateInRangeValidator{{'}'}} from 'im-angular-validators'; Also, error interface that validator returns can be imported as well: import {{'{'}}IMDateInRangeErrorInterface{{'}'}} from 'im-angular-validators';
Please, take a look at the validator APIs for more detailed information.