DecimalFormat is "Locale sensitive"

time value should not be parsed directly from the TextField with Double.parseDouble which assumes a dot as the separator.