Example usage for Java java.nio.file.attribute FileTime fields, constructors, methods, implement or subclass
The text is from its open source code.
int | compareTo(FileTime other) Compares the value of two FileTime objects for order. |
boolean | equals(Object obj) Tests this FileTime for equality with the given object. |
FileTime | from(long value, TimeUnit unit) Returns a FileTime representing a value at the given unit of granularity. |
FileTime | from(Instant instant) Returns a FileTime representing the same point of time value on the time-line as the provided Instant object. |
FileTime | fromMillis(long value) Returns a FileTime representing the given value in milliseconds. |
int | hashCode() Computes a hash code for this file time. |
long | to(TimeUnit unit) Returns the value at the given unit of granularity. |
Instant | toInstant() Converts this FileTime object to an Instant . |
long | toMillis() Returns the value in milliseconds. |
String | toString() Returns the string representation of this FileTime . |