Casper.Network.SDK
Show / Hide Table of Contents

Class DurationUtils

Inheritance
object
DurationUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Utils
Assembly: Casper.Network.SDK.dll
Syntax
public class DurationUtils

Methods

| Edit this page View Source

MillisecondsToString(double)

Declaration
public static string MillisecondsToString(double milliseconds)
Parameters
Type Name Description
double milliseconds
Returns
Type Description
string
| Edit this page View Source

StringToMilliseconds(string)

Declaration
public static ulong StringToMilliseconds(string duration)
Parameters
Type Name Description
string duration
Returns
Type Description
ulong
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC