C# Class SharpOSC.Utils

Show file Open project: ValdemarOrn/SharpOSC

Public Methods

Method Description
AlignedStringLength ( string val ) : int
DateTimeToTimetag ( System.DateTime value ) : System.UInt64
TimetagToDateTime ( System.UInt64 val ) : System.DateTime
TimetagToFraction ( System.UInt64 val ) : double

Method Details

AlignedStringLength() public static method

public static AlignedStringLength ( string val ) : int
val string
return int

DateTimeToTimetag() public static method

public static DateTimeToTimetag ( System.DateTime value ) : System.UInt64
value System.DateTime
return System.UInt64

TimetagToDateTime() public static method

public static TimetagToDateTime ( System.UInt64 val ) : System.DateTime
val System.UInt64
return System.DateTime

TimetagToFraction() public static method

public static TimetagToFraction ( System.UInt64 val ) : double
val System.UInt64
return double