static private void test(String unit, String result) throws Exception { org.joda.time.Period jp = convertToPeriod(1, unit); assert jp != null; System.out.printf("%s == %s%n", unit, jp); assert jp.toString().equals(result) : jp.toString()+" != "+ result; }
static private void test(String unit, String result) throws Exception { org.joda.time.Period jp = convertToPeriod(1, unit); assert jp != null; System.out.printf("%s == %s%n", unit, jp); assert jp.toString().equals(result) : jp.toString()+" != "+ result; }
static private void test(String unit, String result) throws Exception { org.joda.time.Period jp = convertToPeriod(1, unit); assert jp != null; System.out.printf("%s == %s%n", unit, jp); assert jp.toString().equals(result) : jp.toString()+" != "+ result; }