Prevent datepickers from allowing users to select dates outside of the valid year range