Java错误——java.lang.NumberFormatException: multiple points 背景 一次开发,将SimpleDateFormat作为参数传参到各个方法中,结果报错java.lang.NumberFormatException: multiple points 原因 SimpleDateFormat是线程不安全的,只能在单线程中使用