Revision f1a25720
Added by Katja Luther over 6 years ago
- ID f1a25720755daa96e8838a617a660dfced7b9f31
- Parent 23e50194
cdmlib-model/src/test/java/eu/etaxonomy/cdm/strategy/match/DefaultMatchStrategyTest.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.cdm.strategy.match; |
11 | 11 |
|
12 | 12 |
import java.net.URI; |
13 |
import java.time.ZoneId; |
|
14 |
import java.time.ZonedDateTime; |
|
13 | 15 |
|
14 | 16 |
import org.apache.log4j.Logger; |
15 |
import org.joda.time.DateTime; |
|
16 | 17 |
import org.junit.After; |
17 | 18 |
import org.junit.AfterClass; |
18 | 19 |
import org.junit.Assert; |
... | ... | |
69 | 70 |
private Annotation annotation2; |
70 | 71 |
private String annotationString2; |
71 | 72 |
private String title2 = "Title2"; |
72 |
private DateTime created2 = new DateTime(1999, 3, 1, 0, 0, 0, 0);
|
|
73 |
private ZonedDateTime created2 = ZonedDateTime.of(1999, 3, 1, 0, 0, 0, 0, ZoneId.systemDefault());
|
|
73 | 74 |
private TimePeriod datePublished2 = TimePeriod.NewInstance(2002); |
74 | 75 |
private int hasProblem2 = 1; |
75 | 76 |
private LSID lsid2; |
Also available in: Unified diff
first implementation for change from joda time to java8 time