public class DateTimeUtil extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getDateTimePattern1() |
static String |
getDateTimePattern2() |
static String |
localDateTimeToPattern1(LocalDateTime dateTime) |
static String |
localDateTimeToPattern2(LocalDateTime dateTime) |
static LocalDateTime |
pattern2ToLocalDateTime(String dateTime) |
public static String getDateTimePattern1()
public static String localDateTimeToPattern1(LocalDateTime dateTime)
public static String getDateTimePattern2()
public static String localDateTimeToPattern2(LocalDateTime dateTime)
public static LocalDateTime pattern2ToLocalDateTime(String dateTime)
Copyright © 2022 hellothomas. All rights reserved.