*/
public static BigDecimal convertStringHHMM2BigDecimalTolerant(String toConvert) throws ParseException {
if (toConvert != null) {
// check if the string matches the mask
MaskFormatter mf = new MaskFormatter(Converter.TIME_MASK);
mf.stringToValue(toConvert);
int pos = toConvert.indexOf(Converter.TIME_SEPARATOR);
String h = toConvert.substring(0, pos);
String m = toConvert.substring(pos + 1);
BigDecimal t = new BigDecimal(m + ".00");
t = t.divide(new BigDecimal("60.00"), BigDecimal.ROUND_HALF_UP);