public class TestDateNumericAnalyzer {
@Test
public void testParser() throws IOException {
final DateNumericAnalyzer analyzer = new DateNumericAnalyzer(8);
final NumericParser parser = analyzer.getNumericParser();
assertEquals(NumericType.LONG, parser.getNumericType());
assertEquals(64, parser.getValueSize());
final ReusableCharArrayReader input = new ReusableCharArrayReader("2012-09-21T00:00:00Z".toCharArray());
assertEquals(1348185600000l, parser.parseAndConvert(input));
}