using System;

namespace JNGame.Runtime.Util
{
    public class TimeUtil
    {
        public static string FormatSecond(int totalSeconds,string format)
        {
            TimeSpan timeSpan = TimeSpan.FromSeconds(totalSeconds);  
            return timeSpan.ToString(format);
        }
    }
}