add some sanity tests with joda for date time manipulation
This commit is contained in:
parent
b7b775228e
commit
d523104b91
|
@ -70,6 +70,10 @@ public class SimpleJodaTests {
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
// all is well
|
// all is well
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// test offset in format
|
||||||
|
millis = formatter.parseMillis("1970-01-01T00:00:00-02:00");
|
||||||
|
assertThat(millis, equalTo(TimeValue.timeValueHours(2).millis()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test public void testIsoVsCustom() {
|
@Test public void testIsoVsCustom() {
|
||||||
|
|
Loading…
Reference in New Issue