public class ScpTimestamp extends Object
Constructor and Description |
---|
ScpTimestamp(long modTime,
long accTime) |
Modifier and Type | Method and Description |
---|---|
long |
getLastAccessTime() |
long |
getLastModifiedTime() |
static ScpTimestamp |
parseTime(String line) |
String |
toString() |
public long getLastModifiedTime()
public long getLastAccessTime()
public static ScpTimestamp parseTime(String line) throws NumberFormatException
line
- The time specification - format:
T<mtime-sec> <mtime-micros> <atime-sec> <atime-micros>
where specified times are since UTCScpTimestamp
value with the timestamps converted to
millisecondsNumberFormatException
- if bad numerical values - Note:
does not check if 1st character is 'T'.Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.