public boolean isShowWeek() {
        return (boolean) getStateHelper().eval(PropertyKeys.showWeek,
                () -> "week".equals(getView()));
    }
Standard 576px considered a small screen so we can auto switch the picker to touch mode
primefaces/src/main/java/org/primefaces/component/datepicker/DatePickerBase.java