java.lang.Object
io.ebean.text.TimeStringParser
- All Implemented Interfaces:
StringParser
Parser for TIME types that supports both HH:mm:ss and HH:mm.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TimeStringParser
get()
Return a shared instance as this is thread safe.Parse the String supporting both HH:mm:ss and HH:mm formats.
-
Constructor Details
-
TimeStringParser
public TimeStringParser()
-
-
Method Details
-
get
Return a shared instance as this is thread safe. -
parse
Parse the String supporting both HH:mm:ss and HH:mm formats.- Specified by:
parse
in interfaceStringParser
-