public class FormatDateUtil extends Object
| Constructor and Description |
|---|
FormatDateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatDate(Date date)
使用SimpleDateFormat格式化日期为yyyy-MM-dd,每次新建对象避免线程安全问题
|
Copyright © 2024. All rights reserved.