Revision 2160 org.gvsig.tools/library/trunk/org.gvsig.tools/org.gvsig.tools.lib/src/test/java/org/gvsig/tools/datatypes/impl/coercion/CoerceToDateTimeTest.java
CoerceToDateTimeTest.java | ||
---|---|---|
30 | 30 |
import org.gvsig.tools.dataTypes.CoercionException; |
31 | 31 |
import org.gvsig.tools.dataTypes.Coercion; |
32 | 32 |
import org.gvsig.tools.dataTypes.impl.coercion.CoerceToDate; |
33 |
import org.gvsig.tools.dataTypes.impl.coercion.CoerceToDateTime;
|
|
33 |
import org.gvsig.tools.dataTypes.impl.coercion.CoerceToTimestamp;
|
|
34 | 34 |
|
35 | 35 |
/** |
36 | 36 |
* Unit tests for the {@link CoerceToDate} class. |
... | ... | |
41 | 41 |
public class CoerceToDateTimeTest extends CoercionTestAbstract { |
42 | 42 |
|
43 | 43 |
public void testCoerce() throws Exception { |
44 |
CoerceToDateTime coerce = new CoerceToDateTime();
|
|
44 |
CoerceToTimestamp coerce = new CoerceToTimestamp();
|
|
45 | 45 |
|
46 | 46 |
Calendar calendar = Calendar.getInstance(); |
47 | 47 |
// Remember the month value is in format 0 to 11, instead of 1 to 12, |
Also available in: Unified diff