DateSorter.GetIndex(Int64) Method

Definition

[Android.Runtime.Register("getIndex", "(J)I", "GetGetIndex_JHandler")]
public virtual int GetIndex (long time);
[<Android.Runtime.Register("getIndex", "(J)I", "GetGetIndex_JHandler")>]
abstract member GetIndex : int64 -> int
override this.GetIndex : int64 -> int

Parameters

time
Int64

time since the Epoch in milliseconds, such as that returned by Calendar.getTimeInMillis()

Returns

an index from 0 to (DAY_COUNT - 1) that identifies which date bin this date belongs to

Attributes

Remarks

Java documentation for android.webkit.DateSorter.getIndex(long).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to