}
return new QName(uri, localName);
}
public Calendar parseDateTime(String arg0) {
XsDateTimeFormat format = new XsDateTimeFormat();
ParsePosition pos = new ParsePosition(0);
Calendar cal = (Calendar) format.parseObject(arg0, pos);
if (cal == null) {
throw new IllegalArgumentException("Failed to parse dateTime " + arg0 +
" at:" + arg0.substring(pos.getErrorIndex()));
}
return cal;