@Test public void longAgoNotRecent() { final int now = (int) (System.currentTimeMillis() / 1000); assertFalse(Nonce.isRecent(0)); assertFalse(Nonce.isRecent(now - 60 * 60 * 24 * 365)); }
public boolean isRecent() { return isRecent(sinceEpoch); }
Nonce implements Serializable { public boolean isRecent() { return isRecent(sinceEpoch); } }
Nonce implements Serializable { public boolean isRecent() { return isRecent(sinceEpoch); } Nonce(); protected  Nonce(int sinceEpoch);  Nonce(byte[] token); }
Nonce implements Serializable { public boolean isRecent() { return isRecent(sinceEpoch); } Nonce(); protected  Nonce(int sinceEpoch);  Nonce(byte[] token); byte[] toToken(); byte[] nt(); byte[] nr(); int getSinceEpoch(); boolean isRecent(); static boolean isRecent(int sinceEpoch); int getRandon(); }
Nonce implements Serializable { public boolean isRecent() { return isRecent(sinceEpoch); } Nonce(); protected  Nonce(int sinceEpoch);  Nonce(byte[] token); byte[] toToken(); byte[] nt(); byte[] nr(); int getSinceEpoch(); boolean isRecent(); static boolean isRecent(int sinceEpoch); int getRandon();  }