传过来的是String类型,时分格式,比如01:00。怎么转成datetime类型?
String datestr = "01:00";DateTime datetime = DateUtil.parse(datestr);使用前需要引入hutuul依赖