Class SQLTimeValueParser

  • All Implemented Interfaces:
    XMLValueParser<org.joda.time.LocalTime>

    public class SQLTimeValueParser
    extends Object
    implements XMLValueParser<org.joda.time.LocalTime>
    Values parser for SQL time values. It accepts strings formatted as HH:mm:ss.
    • Constructor Detail

      • SQLTimeValueParser

        public SQLTimeValueParser()
    • Method Detail

      • parse

        public org.joda.time.LocalTime parse​(String xml)
                                      throws ParseException
        Description copied from interface: XMLValueParser
        Parses the specified string value.
        Specified by:
        parse in interface XMLValueParser<org.joda.time.LocalTime>
        Parameters:
        xml - the string value
        Returns:
        the Java object
        Throws:
        ParseException - if the string value is invalid