public final void showDate(LocalDate date) {
        requireNonNull(date);
        if (!dayPage.isHidden()) {
            selectedPage.set(getDayPage());
        } else if (!weekPage.isHidden()) {
            selectedPage.set(getWeekPage());
        } else if (!monthPage.isHidden()) {
            selectedPage.set(getMonthPage());
        } else if (!yearPage.isHidden()) {
            selectedPage.set(getYearPage());
        }

        setDate(date);
    }
public final void showDate ( LocalDate date ) { requireNonNull ( date ) ; if ( ! dayPage . isHidden ( ) ) { selectedPage . set ( getDayPage ( ) ) ; } else if ( ! weekPage . isHidden ( ) ) { selectedPage . set ( getWeekPage ( ) ) ; } else if ( ! monthPage . isHidden ( ) ) { selectedPage . set ( getMonthPage ( ) ) ; } else if ( ! yearPage . isHidden ( ) ) { selectedPage . set ( getYearPage ( ) ) ; } setDate ( date ) ; }
Sends the request to the calendar view to display the given date. The
view will switch to the {@link DayPage} and set the value of
{@link #dateProperty()} to the date.

@param date the date to show in the view