在java中比较两个时间戳
我如何比较 是否介于 和 之间:mytime
fromtime
totime
Timestamp fromtime;
Timestamp totime;
Timestamp mytime;
我如何比较 是否介于 和 之间:mytime
fromtime
totime
Timestamp fromtime;
Timestamp totime;
Timestamp mytime;
if(mytime.after(fromtime) && mytime.before(totime))
//mytime is in between