To select a date in a calendar, call the setValue() method.