Sets the date that should be shown in the calendar or/and opens the calendar in one of the specified modes.