BPM to ms conversion Java.