These docs are for an old release. Info on upgrading to v5
edit doc

Calendar::unselect

A method for programmatically clearing the current selection.

calendar.unselect()