@Test public void testResetLogical() throws Exception { Timestamp t = new Timestamp(); short l = (short) rand.nextInt(100); t.setLogical((short)l); t.incrementLogical(); t.resetLogical(); assertTrue(t.getLogical() == 0); }
public void resetLogical() { this.logical = 0; }
Timestamp implements Comparable<Timestamp>, Cloneable { public void resetLogical() { this.logical = 0; } }
Timestamp implements Comparable<Timestamp>, Cloneable { public void resetLogical() { this.logical = 0; } Timestamp();  Timestamp(long wallTime, short logical);  Timestamp(long t); }
Timestamp implements Comparable<Timestamp>, Cloneable { public void resetLogical() { this.logical = 0; } Timestamp();  Timestamp(long wallTime, short logical);  Timestamp(long t); Timestamp clone(); Timestamp add(Timestamp t); Timestamp add(long wallTime, short logical); long getWallTime(); void setWallTime(long wallTime); short getLogical(); void setLogical(short logical); void incrementLogical(); void resetLogical(); long toLong(); int compareTo(Timestamp o); String toString(); }
Timestamp implements Comparable<Timestamp>, Cloneable { public void resetLogical() { this.logical = 0; } Timestamp();  Timestamp(long wallTime, short logical);  Timestamp(long t); Timestamp clone(); Timestamp add(Timestamp t); Timestamp add(long wallTime, short logical); long getWallTime(); void setWallTime(long wallTime); short getLogical(); void setLogical(short logical); void incrementLogical(); void resetLogical(); long toLong(); int compareTo(Timestamp o); String toString();  }