Class DurationUtils
Inheritance
System.Object
DurationUtils
Assembly: Casper.Network.SDK.dll
Syntax
public class DurationUtils : object
Methods
MillisecondsToString(Double)
Declaration
public static string MillisecondsToString(double milliseconds)
Parameters
Type |
Name |
Description |
System.Double |
milliseconds |
|
Returns
Type |
Description |
System.String |
|
StringToMilliseconds(String)
Declaration
public static ulong StringToMilliseconds(string duration)
Parameters
Type |
Name |
Description |
System.String |
duration |
|
Returns
Type |
Description |
System.UInt64 |
|