Android Timestamp Compare before(Timestamp t1, Timestamp t2)

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

Description

before

Declaration

public static boolean before(Timestamp t1, Timestamp t2) 

Method Source Code

//package com.java2s;

import java.sql.Timestamp;

public class Main {
    public static boolean before(Timestamp t1, Timestamp t2) {
        if (t1 == null || t2 == null) {
            return false;
        }/* w w  w . ja v a2s.co  m*/

        return t1.before(t2);
    }
}

Related

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