*/
@Override
public LocalTimeTextField build()
{
Locale lLocale = (iLocale == null ? Locale.getDefault() : iLocale);
LocalTimeTextField lLocalTimeTextField = new LocalTimeTextField();
if (iDateTimeFormatter != null) lLocalTimeTextField.setDateTimeFormatter( DateTimeFormatter.ofPattern(iDateTimeFormatter).withLocale(lLocale));
//if (iLocale != null) lLocalTimeTextField.setLocale(iLocale);
if (iPromptText != null) lLocalTimeTextField.setPromptText(iPromptText);
if (iDateTimeFormatters != null)
{
ObservableList<DateTimeFormatter> lDateTimeFormatters = FXCollections.observableArrayList();
for (String lPart : iDateTimeFormatters)
{
lDateTimeFormatters.add( DateTimeFormatter.ofPattern(lPart.trim()).withLocale(lLocale) );
}
lLocalTimeTextField.setDateTimeFormatters(lDateTimeFormatters);
}
applyCommonProperties(lLocalTimeTextField);
return lLocalTimeTextField;
}