Revision f1a25720
Added by Katja Luther over 6 years ago
- ID f1a25720755daa96e8838a617a660dfced7b9f31
- Parent 23e50194
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/ICdmBase.java | ||
---|---|---|
9 | 9 |
|
10 | 10 |
package eu.etaxonomy.cdm.model.common; |
11 | 11 |
|
12 |
import java.time.ZonedDateTime; |
|
12 | 13 |
import java.util.UUID; |
13 | 14 |
|
14 | 15 |
import javax.validation.GroupSequence; |
15 | 16 |
import javax.validation.groups.Default; |
16 | 17 |
|
17 |
import org.joda.time.DateTime; |
|
18 |
|
|
19 | 18 |
import eu.etaxonomy.cdm.validation.Level2; |
20 | 19 |
import eu.etaxonomy.cdm.validation.Level3; |
21 | 20 |
|
... | ... | |
40 | 39 |
|
41 | 40 |
public void setUuid(UUID uuid); |
42 | 41 |
|
43 |
public DateTime getCreated(); |
|
42 |
public ZonedDateTime getCreated();
|
|
44 | 43 |
|
45 | 44 |
/** |
46 | 45 |
* Sets the timestamp this object was created. |
... | ... | |
50 | 49 |
* |
51 | 50 |
* @param created |
52 | 51 |
*/ |
53 |
public void setCreated(DateTime created); |
|
52 |
public void setCreated(ZonedDateTime created);
|
|
54 | 53 |
|
55 | 54 |
public User getCreatedBy(); |
56 | 55 |
|
Also available in: Unified diff
first implementation for change from joda time to java8 time