Class DaysOfWeekDatatype
java.lang.Object
io.jmix.fullcalendarflowui.datatype.DaysOfWeekDatatype
- All Implemented Interfaces:
Datatype<DaysOfWeek>
The datatype that enables containing days of week in one field.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts value to String.Converts value to String taking into account local formats.Parses value from StringParses value from String taking into account local formatsvoid
setMessages
(Messages messages) sortDaysOfWeek
(Collection<DayOfWeek> value, Locale locale) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.core.metamodel.datatype.Datatype
getId, getJavaClass
-
Field Details
-
messages
-
-
Constructor Details
-
DaysOfWeekDatatype
public DaysOfWeekDatatype()
-
-
Method Details
-
setMessages
-
format
Description copied from interface:Datatype
Converts value to String. Returns an empty string for null value.- Specified by:
format
in interfaceDatatype<DaysOfWeek>
-
format
Description copied from interface:Datatype
Converts value to String taking into account local formats. Returns an empty string for null value.- Specified by:
format
in interfaceDatatype<DaysOfWeek>
-
parse
Description copied from interface:Datatype
Parses value from String- Specified by:
parse
in interfaceDatatype<DaysOfWeek>
- Throws:
ParseException
-
parse
Description copied from interface:Datatype
Parses value from String taking into account local formats- Specified by:
parse
in interfaceDatatype<DaysOfWeek>
- Throws:
ParseException
-
sortDaysOfWeek
-