Compartir a través de


FileTime.ToMillis Method

Definition

Returns the value in milliseconds.

[Android.Runtime.Register("toMillis", "()J", "", ApiSince=26)]
public long ToMillis ();
[<Android.Runtime.Register("toMillis", "()J", "", ApiSince=26)>]
member this.ToMillis : unit -> int64

Returns

the value in milliseconds, since the epoch (1970-01-01T00:00:00Z)

Attributes

Remarks

Returns the value in milliseconds.

Conversion from a coarser granularity that would numerically overflow saturate to Long.MIN_VALUE if negative or Long.MAX_VALUE if positive.

Java documentation for java.nio.file.attribute.FileTime.toMillis().

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