Udostępnij za pośrednictwem


ZipEntry.CreationTime Property

Definition

Returns the creation time of the entry.

public virtual Java.Nio.FileNio.Attributes.FileTime? CreationTime { [Android.Runtime.Register("getCreationTime", "()Ljava/nio/file/attribute/FileTime;", "GetGetCreationTimeHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getCreationTime", "()Ljava/nio/file/attribute/FileTime;", "GetGetCreationTimeHandler", ApiSince=26)>]
member this.CreationTime : Java.Nio.FileNio.Attributes.FileTime

Property Value

the creation time of the entry, null if not specified

Attributes

Remarks

Returns the creation time of the entry.

The creation time is from the extended timestamp fields of entry's optional extra data when read from a ZIP file or ZIP file formatted stream.

Added in 1.8.

Java documentation for java.util.zip.ZipEntry.getCreationTime().

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