public class TimeUtil
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static int |
FIVE_MINUTES_SECONDS |
static int |
ONE_DAY_SECONDS |
static int |
ONE_HOUR_SECONDS |
static int |
ONE_MINUTE_SECONDS |
static int |
ONE_MONTH_SECONDS |
static int |
ONE_WEEK_SECONDS |
static int |
ONE_YEAR_SECONDS |
static int |
SECOND_TO_MIN |
static int |
THIRTY_DAYS_SECONDS |
构造器和说明 |
---|
TimeUtil() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
format(long seconds) |
static java.lang.String |
formatFromTime(long time) |
static java.lang.String |
formatTime(long time) |
static java.lang.String |
formatTimeNew(long time) |
static java.lang.String |
getDayFrmTime(long time) |
static java.lang.String |
getDayFromTime(long time) |
static java.lang.String |
getDayTimeFrmTime(long time) |
static java.lang.String |
getDayTimeFromTime(long time) |
static boolean |
isSameDay(java.lang.String netTime) |
static long |
SecondToMinFormat(long second) |
static java.lang.String |
timeStatus(long time) |
public static final int ONE_MINUTE_SECONDS
public static final int FIVE_MINUTES_SECONDS
public static final int ONE_HOUR_SECONDS
public static final int ONE_DAY_SECONDS
public static final int ONE_WEEK_SECONDS
public static final int ONE_MONTH_SECONDS
public static final int ONE_YEAR_SECONDS
public static final int THIRTY_DAYS_SECONDS
public static final int SECOND_TO_MIN
public static java.lang.String formatFromTime(long time)
public static java.lang.String format(long seconds)
public static java.lang.String timeStatus(long time)
public static java.lang.String getDayFrmTime(long time)
public static java.lang.String getDayFromTime(long time)
public static java.lang.String getDayTimeFrmTime(long time)
public static java.lang.String getDayTimeFromTime(long time)
public static java.lang.String formatTime(long time)
public static java.lang.String formatTimeNew(long time)
public static boolean isSameDay(java.lang.String netTime)
public static long SecondToMinFormat(long second)