Revision f1a25720
Added by Katja Luther over 6 years ago
- ID f1a25720755daa96e8838a617a660dfced7b9f31
- Parent 23e50194
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/dwca/out/DwcaImageRecord.java | ||
---|---|---|
11 | 11 |
import java.io.PrintWriter; |
12 | 12 |
import java.net.URI; |
13 | 13 |
import java.net.URISyntaxException; |
14 |
import java.time.ZonedDateTime; |
|
14 | 15 |
import java.util.Set; |
15 | 16 |
|
16 | 17 |
import org.apache.log4j.Logger; |
17 |
import org.joda.time.DateTime; |
|
18 | 18 |
|
19 | 19 |
import eu.etaxonomy.cdm.io.dwca.TermUri; |
20 | 20 |
import eu.etaxonomy.cdm.model.agent.AgentBase; |
... | ... | |
39 | 39 |
private Point coordinates; |
40 | 40 |
private String format; |
41 | 41 |
private Set<Rights> license; |
42 |
private DateTime created; |
|
42 |
private ZonedDateTime created;
|
|
43 | 43 |
private AgentBase<?> creator; |
44 | 44 |
private AgentBase<?> contributor; |
45 | 45 |
private AgentBase<?> publisher; |
... | ... | |
170 | 170 |
this.license = set; |
171 | 171 |
} |
172 | 172 |
|
173 |
public DateTime getCreated() { |
|
173 |
public ZonedDateTime getCreated() {
|
|
174 | 174 |
return created; |
175 | 175 |
} |
176 | 176 |
|
177 |
public void setCreated(DateTime created) { |
|
177 |
public void setCreated(ZonedDateTime created) {
|
|
178 | 178 |
this.created = created; |
179 | 179 |
} |
180 | 180 |
|
Also available in: Unified diff
first implementation for change from joda time to java8 time