### Question:
TimeAxisImpl extends AbstractIrregularAxis<DateTime> implements TimeAxis { @Override public boolean contains(DateTime position) { return getCoordinateExtent().contains(position); } TimeAxisImpl(String name, List<DateTime> axisValues); @Override boolean wraps(); @Override boolean contains(DateTime position); @Override Extent<DateTime> getExtent(); @Override Chronology getChronology(); @Override Extent<DateTime> getCoordinateBounds(int index); @Override Extent<DateTime> getCoordinateExtent(); @Override int hashCode(); @Override boolean equals(Object obj);  }### Answer:
@Test public void testContains() { DateTime dt = start.plusDays(5); assertTrue(tAxis.contains(dt)); assertFalse(tAxis.contains(null)); dt = start.plusDays(25); assertFalse(tAxis.contains(dt)); dt = start.minusDays(5); assertFalse(tAxis.contains(dt)); }