public final class UnixDateFormat extends Object
Modifier and Type | Field and Description |
---|---|
static List<String> |
MONTHS
A
List of short months names where Jan=0, Feb=1, etc. |
static long |
SIX_MONTHS
Six months duration in msec.
|
Modifier and Type | Method and Description |
---|---|
static String |
getUnixDate(FileTime time)
Get unix style date string.
|
static String |
getUnixDate(long millis) |
public static final List<String> MONTHS
List
of short months names where Jan=0, Feb=1, etc.public static final long SIX_MONTHS
public static String getUnixDate(FileTime time)
time
- The FileTime
to format - ignored if null
getUnixDate(long)
public static String getUnixDate(long millis)
Copyright © 2018–2019 The Apache Software Foundation. All rights reserved.