spring-framework / org.springframework.format.datetime.joda / LocalTimeParser

LocalTimeParser

class LocalTimeParser : Parser<LocalTime>

Parses Joda org.joda.time.LocalTime instances using a org.joda.time.format.DateTimeFormatter.

Author
Juergen Hoeller

Since
4.0

Constructors

<init>

LocalTimeParser(formatter: DateTimeFormatter)

Create a new DateTimeParser.

Functions

parse

fun parse(text: String, locale: Locale): LocalTime