示例#1
0
 public void verificationQueryTime() throws Exception {
   if (this.startDate != null && this.endDate != null) {
     if (this.startDate > endDate) {
       Long temp = endDate;
       endDate = startDate;
       startDate = temp;
     }
     endDate += ONE_DAY - 1000;
     LOG.debug(
         "query order time:"
             + DateUtil.convertDateLongToDateString("yyyy-MM-dd HH:mm", startDate)
             + "--"
             + DateUtil.convertDateLongToDateString("yyyy-MM-dd HH:mm", startDate));
   }
 }
示例#2
0
 public void setEstimateTime(Long estimateTime) {
   this.estimateTime = estimateTime;
   this.estimateTimeStr =
       DateUtil.convertDateLongToDateString(DateUtil.DATE_STRING_FORMAT_DAY, estimateTime);
 }