List of usage examples for org.jfree.data.time Millisecond getSerialIndex
@Override public long getSerialIndex()
From source file:org.jfree.data.time.MillisecondTest.java
/** * Some checks for the getSerialIndex() method. *///from w w w. ja v a2 s.c o m @Test public void testGetSerialIndex() { Millisecond m = new Millisecond(500, 1, 1, 1, 1, 1, 2000); assertEquals(3155850061500L, m.getSerialIndex()); m = new Millisecond(500, 1, 1, 1, 1, 1, 1900); // TODO: this must be wrong... assertEquals(176461500L, m.getSerialIndex()); }
From source file:org.jfree.data.time.junit.MillisecondTest.java
/** * Some checks for the getSerialIndex() method. */// w w w . ja va2 s . com public void testGetSerialIndex() { Millisecond m = new Millisecond(500, 1, 1, 1, 1, 1, 2000); assertEquals(3155850061500L, m.getSerialIndex()); m = new Millisecond(500, 1, 1, 1, 1, 1, 1900); // TODO: this must be wrong... assertEquals(176461500L, m.getSerialIndex()); }