FormatExtensions

StockSharp.Reporting

格式扩展名 。

方法

Format
public static string Format(TimeSpan? time)
result = FormatExtensions.Format(time)

To format the TimeSpan in String.

time
TimeSpan值 。

返回值: 弦乐

Format
public static string Format(TimeSpan time)
result = FormatExtensions.Format(time)

To format the TimeSpan in String.

time
TimeSpan值 。

返回值: 弦乐

Format
public static string Format(DateTime time)
result = FormatExtensions.Format(time)

To format the DateTime in String.

time
DateTime值 。

返回值: 弦乐