@Test
public void testDoubleConstructor() {

	assertEquals(10, t1.secs);
	assertEquals(200000000, t1.nsecs);
	assertEquals(10, t1.getSecs());
	assertEquals(200000000, t1.getNsecs());
	assertFalse(t1.isZero());
	assertEquals(10.2, t1.toSec(), 0);
	assertEquals(10200000000l, t1.toNSec());
	assertTrue(t1.isValid());
	assertEquals("{\"secs\":10,\"nsecs\":200000000}", t1.toString());
	assertEquals(2, t1.toJsonObject().size());
	assertEquals(10, t1.toJsonObject().getInt(TimeBase.FIELD_SECS));
	assertEquals(200000000, t1.toJsonObject().getInt(TimeBase.FIELD_NSECS));
	assertEquals(Time.TYPE, t1.getPrimitiveType());
}