public class DateTimeUtil extends Object
Constructor and Description |
---|
DateTimeUtil() |
Modifier and Type | Method and Description |
---|---|
static Date |
getDate(String date,
String pattern) |
static String |
getDiff(Date endDate,
Date startDate) |
static String |
getDiff(long endDate,
long startDate) |
static String |
getFormattedDateTime(Date date,
String pattern) |
static String |
getFormattedDateTime(long millis,
String pattern) |
static String |
getFormattedDateTime(String dateTime,
String pattern) |
static String |
getHMS(long hours,
long mins,
long secs,
long ms) |
Copyright © 2016. All rights reserved.