public class DateFunction extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DATE |
static String |
DATE_TIME |
static String |
NAME |
static String |
TIME |
| 构造器和说明 |
|---|
DateFunction() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
date(Date date) |
String |
date(LocalDate localDate) |
String |
date(LocalDateTime localDateTime) |
String |
datetime(Date date) |
String |
datetime(LocalDateTime localDateTime) |
String |
format(Date date,
String format) |
String |
format(LocalDate localDate,
String format) |
String |
format(LocalDateTime localDateTime,
String format) |
String |
format(LocalTime localTime,
String format) |
static DateFunction |
of() |
String |
time(Date date) |
String |
time(LocalDate localDate) |
String |
time(LocalDateTime localDateTime) |
String |
time(LocalTime localTime) |
public static DateFunction of()
public String format(LocalDateTime localDateTime, String format)
public String datetime(LocalDateTime localDateTime)
public String date(LocalDateTime localDateTime)
public String time(LocalDateTime localDateTime)
Copyright © 2018. All rights reserved.