Add domain constraint on start/end date

issue3991
review13341002