mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-11 13:41:53 +01:00
3c30177269
Adds constructors with a Locale parameter for parsing localized string to DecimalType, PercentType and QuantityType. This allows for parsing locale specific group and decimal seperators in strings. Also fixes: * IllegalArgumentException not being thrown if numbers in strings are only partially parsed as QuantityType * MeasurementParseException not caught and rethrown as IllegalArgumentException Several new unit tests cover the new functionality and fixed regressions. Signed-off-by: Wouter Born <github@maindrain.net> |
||
---|---|---|
.. | ||
src | ||
.classpath | ||
.project | ||
NOTICE | ||
pom.xml |