List of usage examples for org.jfree.data.time FixedMillisecond getFirstMillisecond
@Override public long getFirstMillisecond()
From source file:org.jfree.data.time.FixedMillisecondTest.java
/** * A check for immutability.//from w w w . j a v a 2 s. c om */ @Test public void testImmutability() { Date d = new Date(20L); FixedMillisecond fm = new FixedMillisecond(d); d.setTime(22L); assertEquals(20L, fm.getFirstMillisecond()); }