次の方法で共有


FileTime.FromMillis(Int64) Method

Definition

Returns a FileTime representing the given value in milliseconds.

[Android.Runtime.Register("fromMillis", "(J)Ljava/nio/file/attribute/FileTime;", "", ApiSince=26)]
public static Java.Nio.FileNio.Attributes.FileTime? FromMillis (long value);
[<Android.Runtime.Register("fromMillis", "(J)Ljava/nio/file/attribute/FileTime;", "", ApiSince=26)>]
static member FromMillis : int64 -> Java.Nio.FileNio.Attributes.FileTime

Parameters

value
Int64

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

Returns

a FileTime representing the given value

Attributes

Remarks

Returns a FileTime representing the given value in milliseconds.

Java documentation for java.nio.file.attribute.FileTime.fromMillis(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