class DateFormatter extends BaseDateTimeFormatter {

    @Override
    public void saveNewFormat(String format)
    {
        if (!format.contains("H") && !format.contains("m") && !format.contains("s") && !format.contains("S")
                && !format.contains("h"))
        {
            super.saveNewFormat(format);
        }
    }

    public  DateFormatter(PreferencesRegistry preferencesRegistry);

}