| 构造器和说明 |
|---|
LocalTimeParser(DateTimeFormatter formatter)
Create a new DateTimeParser.
|
public LocalTimeParser(DateTimeFormatter formatter)
formatter - the Joda DateTimeFormatter instancepublic LocalTime parse(String text, Locale locale) throws ParseException
Parserparse 在接口中 Parser<LocalTime>text - the text stringlocale - the current user localeParseException - when a parse exception occurs in a java.text parsing library