Esempio n. 1
0
 // -----------------------------------------------------------------------
 public void testToInstant() {
   DateTime test = new DateTime(TEST_TIME1);
   Instant result = test.toInstant();
   assertEquals(TEST_TIME1, result.getMillis());
 }