Aracılığıyla paylaş


ZipEntry.LastModifiedTime Property

Definition

Returns the last modification time of the entry.

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

Property Value

The last modification time of the entry, null if not specified

Attributes

Remarks

Returns the last modification time of the entry.

If the entry is read from a ZIP file or ZIP file formatted input stream, this is the last modification time from the zip file entry's optional extra data if the extended timestamp fields are present. Otherwise the last modification time is read from the entry's date and time fields, the java.util.TimeZone#getDefault() default TimeZone is used to convert the standard MS-DOS formatted date and time to the epoch time.

Added in 1.8.

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

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