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 String getLocaleName() { if (localeName != null && !localeName.isEmpty() && !localeName.equalsIgnoreCase("default")) { return localeName; } return ""; } DatePicker();  DatePicker(org.gwtbootstrap3.extras.datepicker.client.ui.DatePicker datePicker);  DatePicker(final boolean allowEmptyValues); void setContainer(final Widget container); @Override void setAutoClose(final boolean autoClose); @Override void onShow(final Event e); @Override HandlerRegistration addShowHandler(final ShowHandler showHandler); @Override void onHide(final Event e); @Override HandlerRegistration addHideHandler(final HideHandler hideHandler); @Override void onChangeDate(final Event e); @Override HandlerRegistration addChangeDateHandler(final ChangeDateHandler changeDateHandler); @Override void onChangeYear(final Event e); @Override HandlerRegistration addChangeYearHandler(final ChangeYearHandler changeYearHandler); @Override void onChangeMonth(final Event e); @Override HandlerRegistration addChangeMonthHandler(final ChangeMonthHandler changeMonthHandler); @Override void onClearDate(final Event e); @Override HandlerRegistration addClearDateHandler(final ClearDateHandler outOfRangeHandler); @Override void setDaysOfWeekDisabled(final DatePickerDayOfWeek... daysOfWeekDisabled); @Override boolean isEnabled(); @Override void setEnabled(final boolean enabled); @Override void setEndDate(final Date endDate); @Override void setEndDate(final String endDate); @Override void clearEndDate(); @Override void setForceParse(final boolean forceParse); void setFormat(final String gwtDateFormat); String getLocaleName(); void setLocaleName(String localeName); void setLocaleName(); @Override void setHighlightToday(final boolean highlightToday); @Override String getId(); @Override void setId(final String id); @Override void setHasKeyboardNavigation(final boolean hasKeyboardNavigation); @Override DatePickerLanguage getLanguage(); @Override void setLanguage(final DatePickerLanguage language); @Override void setMinView(final DatePickerMinView datePickerMinView); @Override String getName(); @Override void setName(final String name); @Override String getPlaceholder(); @Override void setPlaceholder(final String placeholder); @Override DatePickerPosition getPosition(); @Override void setPosition(final DatePickerPosition position); @Override void setVisibleOn(final DeviceSize deviceSize); @Override void setHiddenOn(final DeviceSize deviceSize); @Override void setShowTodayButton(final boolean showTodayButton); @Override void setStartDate(final Date startDate); @Override void setStartDate(final String startDate); @Override void clearStartDate(); @Override void setStartView(final DatePickerMinView datePickerMinView); @Override //We don't delegate this to the wrapped DatePicker as that has some issues with the mismatch between GWT's DateFormat and BS3's DateFormat Date getValue(); @Override //We don't delegate this to the wrapped DatePicker as that has some issues with the mismatch between GWT's DateFormat and BS3's DateFormat void setValue(final Date value); @Override //We don't delegate this to the wrapped DatePicker as that has some issues with the mismatch between GWT's DateFormat and BS3's DateFormat void setValue(final Date value,
                         final boolean fireEvents); @Override com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(final ValueChangeHandler<Date> handler); @Override void setViewSelect(final DatePickerMinView datePickerMinView); @Override void setWeekStart(final DatePickerDayOfWeek weekStart); @Override LeafValueEditor<Date> asEditor(); @Override int getTabIndex(); @Override void setTabIndex(final int index); @Override void setAccessKey(final char key); @Override void setFocus(final boolean focused); HandlerRegistration addBlurHandler(final BlurHandler handler);  }
@Test public void testGetLocaleName() { datePicker = new DatePicker(datePickerMock); datePicker.setLocaleName(""); assertEquals("", datePicker.getLocaleName()); datePicker.setLocaleName(null); assertEquals("", datePicker.getLocaleName()); datePicker.setLocaleName("default"); assertEquals("", datePicker.getLocaleName()); String currentLocale = "testValue"; datePicker.setLocaleName(currentLocale); assertEquals(currentLocale, datePicker.getLocaleName()); }