C# Class Microsoft.Azure.Amqp.Ticks

显示文件 Open project: Azure/azure-amqp Class Usage Examples

Public Methods

Method Description
Add ( long firstTicks, long secondTicks ) : long
FromMilliseconds ( int milliseconds ) : long
FromTimeSpan ( System.TimeSpan duration ) : long
ToMilliseconds ( long ticks ) : int
ToTimeSpan ( long ticks ) : System.TimeSpan

Method Details

Add() public static method

public static Add ( long firstTicks, long secondTicks ) : long
firstTicks long
secondTicks long
return long

FromMilliseconds() public static method

public static FromMilliseconds ( int milliseconds ) : long
milliseconds int
return long

FromTimeSpan() public static method

public static FromTimeSpan ( System.TimeSpan duration ) : long
duration System.TimeSpan
return long

ToMilliseconds() public static method

public static ToMilliseconds ( long ticks ) : int
ticks long
return int

ToTimeSpan() public static method

public static ToTimeSpan ( long ticks ) : System.TimeSpan
ticks long
return System.TimeSpan