Added calendar with selection support.
Changed calendar to search doc and added interval.