class Util {

    public static void formatTimeSecondsSinceEpoch(final long time, StringBuilder sbuffer) {
        String timeString = Long.toString(time);
        int len = timeString.length();

        if (len < 3) {
            // Something wrong.  Handle it by just returning the input
            // long as a string.  We prefer this to just crashing in the
            // substring handling.
            sbuffer.append(timeString);
            return;
        }

        sbuffer.append(timeString.substring(0, len - 3));
        sbuffer.append('.');
        sbuffer.append(timeString.substring(len - 3));
    }

    private  Util();

}