Java Timestamp Compare compareTimestamps(Timestamp minTimestamp, Timestamp maxTimestamp)

Here you can find the source of compareTimestamps(Timestamp minTimestamp, Timestamp maxTimestamp)

Description

compare Timestamps

License

Open Source License

Declaration

public static boolean compareTimestamps(Timestamp minTimestamp, Timestamp maxTimestamp) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.sql.Timestamp;

public class Main {
    public static boolean compareTimestamps(Timestamp minTimestamp, Timestamp maxTimestamp) {
        return maxTimestamp.after(minTimestamp);
    }/*from  w  w  w . ja v  a  2  s.  co  m*/
}

Related

  1. compareTimestamp(final Timestamp d1, final Timestamp d2)
  2. compareTimestamps(Timestamp timestamp1, Timestamp timestamp2)
  3. dateDiff(Timestamp t1, Timestamp t2, int type)
  4. dateDifference(Timestamp one, Timestamp two)