{
Element element = new Element();
element.setAttribute(AttributeNames.Core.NAMESPACE, AttributeNames.Core.FIELD, "date");
element.setAttribute(AttributeNames.Core.NAMESPACE, AttributeNames.Core.FORMAT_STRING, "yyyy-MM-dd'T'HH:mm:ss,SSSZZZ");
DateFieldType t = new DateFieldType();
Assert.assertEquals("2009-02-13T15:31:30,123-0800", t.getValue(runtime, element));
}