AK.F1.Timing.UI.Utility.Format.SectorTime C# (CSharp) 메소드

SectorTime() 공개 정적인 메소드

public static SectorTime ( System.TimeSpan value ) : string
value System.TimeSpan
리턴 string
        public static string SectorTime(TimeSpan? value)
        {
            if(value == null)
            {
                return String.Empty;
            }

            TimeSpan time = value.Value;

            return F("{0}.{1:0}", time.Minutes * 60 + time.Seconds, time.Milliseconds / 100);
        }