Class SqlDateLocaleConverter.Builder
java.lang.Object
org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder<B,D>
org.apache.commons.beanutils2.locale.converters.DateLocaleConverter.Builder<SqlDateLocaleConverter.Builder,Date>
org.apache.commons.beanutils2.sql.converters.locale.SqlDateLocaleConverter.Builder
- Enclosing class:
- SqlDateLocaleConverter
public static class SqlDateLocaleConverter.Builder
extends DateLocaleConverter.Builder<SqlDateLocaleConverter.Builder,Date>
Builds instances of
SqlDateLocaleConverter
.-
Field Summary
Fields inherited from class org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder
defaultValue, locale, localizedPattern, pattern, useDefault
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.commons.beanutils2.locale.converters.DateLocaleConverter.Builder
isLenient, setLenient
Methods inherited from class org.apache.commons.beanutils2.locale.BaseLocaleConverter.Builder
asThis, setDefault, setLocale, setLocalizedPattern, setPattern, setUseDefault
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
get
Description copied from class:DateLocaleConverter.Builder
Gets a new instance.Defaults construct a
LocaleConverter
that will throw aConversionException
if a conversion error occurs. The locale is the default locale for this instance of the Java Virtual Machine and an unlocalized pattern is used for the conversion.- Overrides:
get
in classDateLocaleConverter.Builder<SqlDateLocaleConverter.Builder,
Date> - Returns:
- a new instance.
-