Android Timestamp Compare after(Timestamp t1, Timestamp t2)

Here you can find the source of after(Timestamp t1, Timestamp t2)

Description

after

Declaration

public static boolean after(Timestamp t1, Timestamp t2) 

Method Source Code

//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);
    }
}

Related

  1. before(Timestamp t1, Timestamp t2)
  2. compare(Timestamp t1, Timestamp t2, int what)
  3. equals(Timestamp t1, Timestamp t2)