UUID.Timestamp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The timestamp value associated with this UUID.
[Android.Runtime.Register("timestamp", "()J", "")]
public long Timestamp ();
[<Android.Runtime.Register("timestamp", "()J", "")>]
member this.Timestamp : unit -> int64
Returns
The timestamp of this UUID
.
- Attributes
Exceptions
if Version() is not 1.
Remarks
The timestamp value associated with this UUID.
The 60 bit timestamp value is constructed from the time_low, time_mid, and time_hi fields of this UUID
. The resulting timestamp is measured in 100-nanosecond units since midnight, October 15, 1582 UTC.
The timestamp value is only meaningful in a time-based UUID, which has version type 1. If this UUID
is not a time-based UUID then this method throws UnsupportedOperationException.
Java documentation for java.util.UUID.timestamp()
.
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.