@Test
    public void testFormatStoredAgo() {
        // skip test on non english device
        if (!StringUtils.equals(Locale.getDefault().getLanguage(), Locale.ENGLISH.getLanguage())) {
            return;
        }
        assertThat(Formatter.formatStoredAgo(0)).isEqualTo("Stored ");
        assertFormatStoredAgo(DateUtils.MINUTE_IN_MILLIS * 10, "Stored a few minutes ago");
        assertFormatStoredAgo(DateUtils.MINUTE_IN_MILLIS * 20, "Stored about 20 minutes ago");
        assertFormatStoredAgo(DateUtils.MINUTE_IN_MILLIS * 65, "Stored about 1 hour ago");
        assertFormatStoredAgo(DateUtils.HOUR_IN_MILLIS * 45, "Stored about 45 hours ago");
        assertFormatStoredAgo(DateUtils.HOUR_IN_MILLIS * 50, "Stored about 2 days ago");
        assertFormatStoredAgo(DateUtils.DAY_IN_MILLIS * 30, "Stored about 30 days ago");
        assertFormatStoredAgo(DateUtils.DAY_IN_MILLIS * 31, "Stored about 1 month ago");
        assertFormatStoredAgo(DateUtils.DAY_IN_MILLIS * 66, "Stored about 2 months ago");
        assertFormatStoredAgo(DateUtils.DAY_IN_MILLIS * 366, "Stored over a year ago");
    }
The pattern we get from {@link Formatter#getShortDateFormat()} should be the one used by {@link Formatter#formatShortDate(long)}.
main/src/androidTest/java/cgeo/geocaching/utils/FormatterTest.java