Package org.apache.sshd.sftp.server
Class UnixDateFormat
- java.lang.Object
-
- org.apache.sshd.sftp.server.UnixDateFormat
-
public final class UnixDateFormat extends Object
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
MONTHS
AList
of short months names where Jan=0, Feb=1, etc.static long
SIX_MONTHS
Six months duration in msec.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getUnixDate(long millis)
static String
getUnixDate(FileTime time)
Get unix style date string.
-
-
-
Field Detail
-
MONTHS
public static final List<String> MONTHS
AList
of short months names where Jan=0, Feb=1, etc.
-
SIX_MONTHS
public static final long SIX_MONTHS
Six months duration in msec.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnixDate
public static String getUnixDate(FileTime time)
Get unix style date string.- Parameters:
time
- TheFileTime
to format - ignored ifnull
- Returns:
- The formatted date string
- See Also:
getUnixDate(long)
-
getUnixDate
public static String getUnixDate(long millis)
-
-