private String timeIntervalToString(final long timeMs) {
        final double seconds = timeMs / 1000;
        final double mintes = timeMs / (1000 * 60);
        final double hours = timeMs / (1000 * 60 * 60);
        final double days = timeMs / (1000 * 60 * 60 * 24);
        final double weeks = timeMs / (1000 * 60 * 60 * 24 * 7);

        final StringBuilder sb = new StringBuilder();
        sb.append("seconds: ");
        sb.append(seconds);
        sb.append(",  mintes: ");
        sb.append(mintes);
        sb.append(",  hours: ");
        sb.append(hours);
        sb.append(",  days: ");
        sb.append(days);
        sb.append(",  weeks: ");
        sb.append(weeks);

        return sb.toString();
    }
@return the short code name of the row key interval, e.g 's'
stroom-core-shared/src/main/java/stroom/statistics/impl/sql/shared/EventStoreTimeIntervalEnum.java