Period p = Period.at(0, TimeUnit.YEAR);
assertTrue(null, p.isSet());
assertTrue(null, p.isSet(TimeUnit.YEAR));
assertFalse(null, p.isSet(TimeUnit.MONTH));
assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f);
p = p.omit(TimeUnit.YEAR);
assertFalse(null, p.isSet(TimeUnit.YEAR));
}
public void testMoreLessThan() {
Period p = Period.moreThan(1, TimeUnit.YEAR);