public class DateUtil extends Object
Constructor and Description |
---|
DateUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
formatExtraFull(Date date)
Formats: yyyy-MM-dd HH:mm:ss.SSS
|
static String |
formatFull(Date date)
Formats: yyyy-MM-dd HH:mm:ss
|
static String |
formatSimple(Date date)
Formats: HH:mm:ss
|
static String |
formatSimpleWithMillis(Date date)
Formats: HH:mm:ss.SSS
|
public static String formatSimple(Date date)
date
- public static String formatFull(Date date)
date
- public static String formatExtraFull(Date date)
date
- Copyright © 2019. All Rights Reserved.