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