TimeSpanHelper Class
Namespace: PTS
Assembly: PTSframework.dll
Syntax
public static class TimeSpanHelper
Inheritance
System.Object
TimeSpanHelper
Methods
ToFullYears(TimeSpan)
Declaration
public static int ToFullYears(this TimeSpan span)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | span |
Returns
Type | Description |
---|---|
System.Int32 |
ToYears(TimeSpan)
Declaration
public static double ToYears(this TimeSpan span)
Parameters
Type | Name | Description |
---|---|---|
System.TimeSpan | span |
Returns
Type | Description |
---|---|
System.Double |
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()