public Duration getWidth() { int millis = new Period(low, high, PeriodType.millis()).getMillis(); return new Duration(millis); }
public void testSetInto_Object() throws Exception { MutablePeriod m = new MutablePeriod(PeriodType.millis()); NullConverter.INSTANCE.setInto(m, null, null); assertEquals(0L, m.getMillis()); }