Here you can find the source of timestampIsEquals(Timestamp timestamp1, Timestamp timestamp2)
Parameter | Description |
---|---|
timestamp1 | a parameter |
timestamp2 | a parameter |
public static boolean timestampIsEquals(Timestamp timestamp1, Timestamp timestamp2)
//package com.java2s; //License from project: Apache License import java.sql.Timestamp; public class Main { /***/*from w w w .j av a 2 s . c o m*/ * * @param timestamp1 * @param timestamp2 * @return boolean */ public static boolean timestampIsEquals(Timestamp timestamp1, Timestamp timestamp2) { return (timestamp1.compareTo(timestamp2) == 0); } }