class TimeFormatter extends BaseDateTimeFormatter {

    @Override
    public void saveNewFormat(String format)
    {
        if (!format.contains("y") && !format.contains("M") && !format.contains("d"))
        {
            super.saveNewFormat(format);
        }
    }

    public  TimeFormatter(PreferencesRegistry preferencesRegistry);

}