package org.xdef.impl.parsers;

import org.xdef.sys.StringParser;

/** Parser of XML Schema (XSD) "time" type.
 * @author Vaclav Trojan
 */
public class XSParseTime extends XSParseDate {
    private static final String ROOTBASENAME = "time";

    public XSParseTime() {super();}

    @Override
    boolean parse(final StringParser parser) {return parser.isXMLTime();}

    @Override
    public String parserName() {return ROOTBASENAME;}
}