class DatePicker extends Composite implements HasEnabled,
                   Focusable,
                   HasId,
                   HasResponsiveness,
                   HasVisibility,
                   HasPlaceholder,
                   HasAutoClose,
                   HasDaysOfWeekDisabled,
                   HasEndDate,
                   HasForceParse,
                   HasHighlightToday,
                   HasKeyboardNavigation,
                   HasMinView,
                   HasShowTodayButton,
                   HasStartDate,
                   HasStartView,
                   HasViewSelect,
                   HasWeekStart,
                   HasDateTimePickerHandlers,
                   HasLanguage,
                   HasName,
                   HasValue<Date>,
                   HasPosition,
                   IsEditor<LeafValueEditor<Date>> {

    public void setFormat(final String gwtDateFormat) {
        this.gwtDateFormat = gwtDateFormat;
        this.gwtDateTimeFormat = DateTimeFormat.getFormat(this.gwtDateFormat);
        if (getLocaleName().equals("")) {
            datePicker.setLanguage(DatePickerLanguage.EN);
        } else {
            datePicker.setLanguage(DatePickerLanguage.valueOf(getLocaleName().toUpperCase()));
        }
        datePicker.setFormat(DatePickerFormatUtilities.convertToBS3DateFormat(gwtDateFormat));
    }

    public  DatePicker();
    public  DatePicker(org.gwtbootstrap3.extras.datepicker.client.ui.DatePicker datePicker);
    public  DatePicker(final boolean allowEmptyValues);

}