Esempio n. 1
0
 public void test_isNull2() throws Exception {
   DateTime dt = null;
   Assert.assertTrue(DateTimeOperations.isNull(dt));
   Assert.assertFalse(DateTimeOperations.isNotNull(dt));
 }
Esempio n. 2
0
 public void test_isNotNull2() throws Exception {
   DateTime dt = DateTimeOperations.convert(System.currentTimeMillis(), DateTimeZone.getDefault());
   Assert.assertTrue(DateTimeOperations.isNotNull(dt));
   Assert.assertFalse(DateTimeOperations.isNull(dt));
 }
Esempio n. 3
0
 public void test_isNull() throws Exception {
   Long dt = null;
   Assert.assertTrue(DateTimeOperations.isNull(dt));
   Assert.assertFalse(DateTimeOperations.isNull(System.currentTimeMillis()));
 }