private String timeToString(int hour, int minute, int second, int millisecond)
    {
        String result = "";
        
        if (classicTime)
        {
            result += twoDigitString(hour);
            result += timeDelimiter;
            result += twoDigitString(minute);
            result += timeDelimiter;
            result += twoDigitString(second);
            result += timeDelimiter;
            result += threeDigitString(millisecond);
        }
        else
        {
            if (hour > 0)
            {
                result += Integer.toString(hour) + "h ";
            }
            if (minute > 0)
            {
                result += Integer.toString(minute) + "m ";
            }
            if (second > 0)
            {
                result += Integer.toString(second) + "s ";
            }
            result += Integer.toString(millisecond) + "ms";
        }
        
        return result;
    }