Module de.codecamp.messages.core
Package de.codecamp.messages.runtime
Class IcuJavaMoneyMessageArgConverter
java.lang.Object
de.codecamp.messages.runtime.IcuJavaMoneyMessageArgConverter
- All Implemented Interfaces:
MessageArgConverter
Converts
MonetaryAmount to CurrencyAmount.
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
-
IcuJavaMoneyMessageArgConverter
public IcuJavaMoneyMessageArgConverter()
-
-
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
-