Here you can find the source of after(Timestamp t1, Timestamp t2)
public static boolean after(Timestamp t1, Timestamp t2)
//package com.java2s; import java.sql.Timestamp; public class Main { public static boolean after(Timestamp t1, Timestamp t2) { if (t1 == null || t2 == null) { return false; }//www .j a v a2s . co m return t1.after(t2); } }