- 所有已实现的接口:
org.springframework.core.convert.converter.Converter<String,LocalTime>
public class String2LocalTimeConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,LocalTime>
解决 @RequestParam LocalTime Date 类型的入参,参数转换问题。
HH:mm:ss
HH时mm分ss秒
- 作者:
- zuihou
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.springframework.core.convert.converter.Converter
andThen
-
构造器详细资料
-
String2LocalTimeConverter
public String2LocalTimeConverter()
-
方法详细资料
-
convert
- 指定者:
convert 在接口中 org.springframework.core.convert.converter.Converter<String,LocalTime>