Package org.apache.sshd.sftp.server
Class UnixDateFormat
java.lang.Object
org.apache.sshd.sftp.server.UnixDateFormat
-
Field Summary
FieldsModifier and TypeFieldDescriptionAList
of short months names where Jan=0, Feb=1, etc.static final long
Six months duration in msec. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getUnixDate
(long millis) static String
getUnixDate
(FileTime time) Get unix style date string.
-
Field Details
-
MONTHS
AList
of short months names where Jan=0, Feb=1, etc. -
SIX_MONTHS
public static final long SIX_MONTHSSix months duration in msec.- See Also:
-
-
Constructor Details
-
UnixDateFormat
private UnixDateFormat()
-
-
Method Details
-
getUnixDate
Get unix style date string.- Parameters:
time
- TheFileTime
to format - ignored ifnull
- Returns:
- The formatted date string
- See Also:
-
getUnixDate
-