提交 | 用户 | age
|
7c680b
|
1 |
package com.hz.phis.dt; |
C |
2 |
|
|
3 |
import lombok.Data; |
|
4 |
|
|
5 |
import java.util.Date; |
|
6 |
|
|
7 |
/** |
|
8 |
* @author fwq |
|
9 |
* 时间扩展类 |
|
10 |
*/ |
|
11 |
public class TimeDt { |
|
12 |
|
|
13 |
private String timeString; |
|
14 |
|
|
15 |
private Date timeDate; |
|
16 |
|
|
17 |
public TimeDt(String timeString) { |
|
18 |
this.timeString = timeString; |
|
19 |
} |
|
20 |
|
|
21 |
public TimeDt(Date timeDate) { |
|
22 |
this.timeDate = timeDate; |
|
23 |
} |
|
24 |
|
|
25 |
public TimeDt() { |
|
26 |
} |
|
27 |
|
|
28 |
public TimeDt(String timeString, Date timeDate) { |
|
29 |
this.timeString = timeString; |
|
30 |
this.timeDate = timeDate; |
|
31 |
} |
|
32 |
|
|
33 |
public String getTimeString() { |
|
34 |
return timeString; |
|
35 |
} |
|
36 |
|
|
37 |
public void setTimeString(String timeString) { |
|
38 |
this.timeString = timeString; |
|
39 |
} |
|
40 |
|
|
41 |
public Date getTimeDate() { |
|
42 |
return timeDate; |
|
43 |
} |
|
44 |
|
|
45 |
public void setTimeDate(Date timeDate) { |
|
46 |
this.timeDate = timeDate; |
|
47 |
} |
|
48 |
} |