public class DateUtil extends Object
| Constructor and Description |
|---|
DateUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Timestamp |
getCurrentTimestamp() |
static Timestamp |
getDateTimeWithOutTime(Timestamp time) |
static Integer |
getDayInteger() |
static Integer |
getDayInteger(Date date) |
static long |
getDaysBetween(Date one,
Date two) |
static Date |
getTime(Byte hour,
Byte minute) |
static Integer |
getTimeInteger(Byte hour,
Byte minute) |
static Integer |
getTimeInteger(Date date) |
static Integer |
getTimeInteger(Integer hour,
Integer minute) |
static String |
getTimeStr() |
static String |
getTimeStr(Calendar calendar) |
static void |
main(String[] args) |
Copyright © 2020. All rights reserved.