Class TimeSpan
Inheritance
System.Object
TimeSpan
Namespace: Com.Telerik.Android.Common
Assembly: Telerik.Xamarin.Android.Common.dll
Syntax
public class TimeSpan : Object, IComparable, IJavaObject, IDisposable, IJavaPeerable
Constructors
TimeSpan()
Declaration
public TimeSpan()
TimeSpan(Calendar, Calendar)
Declaration
public TimeSpan(Calendar min, Calendar max)
Parameters
Java.Util.Calendar
min
|
Java.Util.Calendar
max
|
TimeSpan(IntPtr, JniHandleOwnership)
Declaration
protected TimeSpan(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
System.IntPtr
javaReference
|
Android.Runtime.JniHandleOwnership
transfer
|
Properties
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Java.Interop.JniPeerMembers
|
Millis
Declaration
public virtual long Millis { get; }
Property Value
System.Int64
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
System.IntPtr
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
System.Type
|
TotalDays
Declaration
public virtual int TotalDays { get; }
Property Value
System.Int32
|
Zero
Methods
CompareTo(Object)
Declaration
public virtual int CompareTo(Object param)
Parameters
Java.Lang.Object
param
|
Returns
System.Int32
|
FromDays(Int64)
Declaration
public static TimeSpan FromDays(long days)
Parameters
System.Int64
days
|
Returns
TimeSpan
|
FromHours(Int64)
Declaration
public static TimeSpan FromHours(long hours)
Parameters
System.Int64
hours
|
Returns
TimeSpan
|
FromMilliseconds(Int64)
Declaration
public static TimeSpan FromMilliseconds(long millis)
Parameters
System.Int64
millis
|
Returns
TimeSpan
|
FromMinutes(Int64)
Declaration
public static TimeSpan FromMinutes(long minutes)
Parameters
System.Int64
minutes
|
Returns
TimeSpan
|
FromSeconds(Int64)
Declaration
public static TimeSpan FromSeconds(long seconds)
Parameters
System.Int64
seconds
|
Returns
TimeSpan
|