public final class TimeStringParser extends Object implements StringParser
Constructor and Description |
---|
TimeStringParser() |
Modifier and Type | Method and Description |
---|---|
static TimeStringParser |
get()
Return a shared instance as this is thread safe.
|
Object |
parse(String value)
Parse the String supporting both HH:mm:ss and HH:mm formats.
|
public TimeStringParser()
public static TimeStringParser get()
public Object parse(String value)
parse
in interface StringParser
Copyright © 2019. All rights reserved.