@Test public void extractNonLocalType_3digit() { assertNull(CommonCourtDivisionUtils.tryExtractNonLocalType("123")); }
public static String tryExtractNonLocalType(String divisionCode) { if (divisionCode.length()<=4) { return null; } return divisionCode.substring(divisionCode.length()-5, divisionCode.length()-4); }
CommonCourtDivisionUtils { public static String tryExtractNonLocalType(String divisionCode) { if (divisionCode.length()<=4) { return null; } return divisionCode.substring(divisionCode.length()-5, divisionCode.length()-4); } }
CommonCourtDivisionUtils { public static String tryExtractNonLocalType(String divisionCode) { if (divisionCode.length()<=4) { return null; } return divisionCode.substring(divisionCode.length()-5, divisionCode.length()-4); } private  CommonCourtDivisionUtils(); }
CommonCourtDivisionUtils { public static String tryExtractNonLocalType(String divisionCode) { if (divisionCode.length()<=4) { return null; } return divisionCode.substring(divisionCode.length()-5, divisionCode.length()-4); } private  CommonCourtDivisionUtils(); static boolean isStrictlyValidCcDivisionCode(String divisionCode); static boolean isTolerantlyValidCcDivisionCode(String divisionCode); static String tryExtractNonLocalType(String divisionCode); static String tryExtractNonLocalCode(String divisionCode); static String tryExtractDivisionTypeCode(String divisionCode); static String tryExtractDivisionNumber(String divisionCode); }
CommonCourtDivisionUtils { public static String tryExtractNonLocalType(String divisionCode) { if (divisionCode.length()<=4) { return null; } return divisionCode.substring(divisionCode.length()-5, divisionCode.length()-4); } private  CommonCourtDivisionUtils(); static boolean isStrictlyValidCcDivisionCode(String divisionCode); static boolean isTolerantlyValidCcDivisionCode(String divisionCode); static String tryExtractNonLocalType(String divisionCode); static String tryExtractNonLocalCode(String divisionCode); static String tryExtractDivisionTypeCode(String divisionCode); static String tryExtractDivisionNumber(String divisionCode);  }