public static int getTimecodeLinkTime(String link) {
        if (isTimecodeLink(link)) {
            Matcher m = TIMECODE_LINK_REGEX.matcher(link);

            try {
                if (m.find()) {
                    return Integer.parseInt(m.group(1));
                }
            } catch (NumberFormatException e) {
                e.printStackTrace();
            }
        }
        return -1;
    }
@Test
    public void testGetTimecodeLinkTime() {
        assertEquals(-1, ShownotesCleaner.getTimecodeLinkTime(null));
        assertEquals(-1, ShownotesCleaner.getTimecodeLinkTime("http://timecode/123"));
        assertEquals(123, ShownotesCleaner.getTimecodeLinkTime("antennapod://timecode/123"));
    }