public class DateKit extends Object
Modifier and Type | Field and Description |
---|---|
static String |
datePattern |
static String |
timeStampPattern |
Constructor and Description |
---|
DateKit() |
Modifier and Type | Method and Description |
---|---|
static void |
setDatePattern(String datePattern) |
static void |
setTimeStampPattern(String timeStampPattern) |
static Date |
toDate(String dateStr) |
static String |
toStr(Date date) |
static String |
toStr(Date date,
String pattern) |
Copyright © 2018. All rights reserved.