[BUG #8400] Calendar range selection
[BUG #8400] Fix syntax error
[BUG #8400] Updated api
[BUG #8400] Typo fix