| | |
| | | if (Cools.isEmpty(this.startTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.startTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.startTime); |
| | | } |
| | | |
| | | public void setStartTime(Date startTime) { |
| | |
| | | if (Cools.isEmpty(this.realStartTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realStartTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.realStartTime); |
| | | } |
| | | |
| | | public void setRealStartTime(Date realStartTime) { |
| | |
| | | if (Cools.isEmpty(this.endTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.endTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.endTime); |
| | | } |
| | | |
| | | public void setEndTime(Date endTime) { |
| | |
| | | if (Cools.isEmpty(this.realEndTime)){ |
| | | return ""; |
| | | } |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.realEndTime); |
| | | return new SimpleDateFormat("yyyy-MM-dd").format(this.realEndTime); |
| | | } |
| | | |
| | | public void setRealEndTime(Date realEndTime) { |