Class DateDatatype
java.lang.Object
io.jmix.core.metamodel.datatype.impl.DateDatatype
- All Implemented Interfaces:
Datatype<Date>
,ParameterizedDatatype
DateDatatype
works with java.sql.Date
but is parameterized with
java.util.Date
to avoid problems with casting.-
Field Details
-
formatStringsRegistry
-
-
Constructor Details
-
DateDatatype
public DateDatatype()
-
-
Method Details
-
format
Description copied from interface:Datatype
Converts value to String. Returns an empty string for null value. -
format
Description copied from interface:Datatype
Converts value to String taking into account local formats. Returns an empty string for null value. -
normalize
-
parse
Description copied from interface:Datatype
Parses value from String- Specified by:
parse
in interfaceDatatype<Date>
- Throws:
ParseException
-
parse
Description copied from interface:Datatype
Parses value from String taking into account local formats- Specified by:
parse
in interfaceDatatype<Date>
- Throws:
ParseException
-
getParameters
- Specified by:
getParameters
in interfaceParameterizedDatatype
-
toString
-