@Test public void testConvert() { PeriodConverter periodConverter = new PeriodConverter(); Period expResult = new Period(0, 1, 0, 0); Period result = periodConverter.convert("60000"); assertEquals(expResult, result); }
@Override public Period convert(String source) { long sourceAsLong = Long.valueOf(source); return new Period(sourceAsLong); }
PeriodConverter implements Converter<String, Period> { @Override public Period convert(String source) { long sourceAsLong = Long.valueOf(source); return new Period(sourceAsLong); } }
PeriodConverter implements Converter<String, Period> { @Override public Period convert(String source) { long sourceAsLong = Long.valueOf(source); return new Period(sourceAsLong); }  }
PeriodConverter implements Converter<String, Period> { @Override public Period convert(String source) { long sourceAsLong = Long.valueOf(source); return new Period(sourceAsLong); }  @Override Period convert(String source); }
PeriodConverter implements Converter<String, Period> { @Override public Period convert(String source) { long sourceAsLong = Long.valueOf(source); return new Period(sourceAsLong); }  @Override Period convert(String source);  }