java.lang.Object
de.codecamp.messages.runtime.IcuMessageArgConverter
- All Implemented Interfaces:
MessageArgConverter
Converts several java.time types and
Calendar to Calendar.
If changes are made to the mapped types, this must be reflected in
de.codecamp.messages.shared.messageformat.IcuMessageFormatSupport.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IcuMessageArgConverter
-
-
Method Details
-
convert
Description copied from interface:MessageArgConverterConverts message arguments from a type that is used in the application to a type that can be handled by the used messsage format.- Specified by:
convertin interfaceMessageArgConverter- Parameters:
value- the original valuelocale- the locale- Returns:
- the converted value
-