java.lang.Object
com.yuzhyn.azylee.core.datas.datetimes.DateTool
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static Date时间增加 day 天static Date时间增加 hour 小时static Date时间增加 minute 分钟static Date时间增加 month 月static Date时间增加 second 秒static Date时间增加 second 秒(long类型)static Date时间增加 year 年static voidstatic Dateparse(int year, int month, int day) static Dateparse(int year, int month, int day, int hour, int minute, int second) static Datestatic Dateparse(String s, DateTimeFormatPattern pattern) static Datestatic Dateparse(LocalDateTime dateTime)
-
构造器详细资料
-
DateTool
public DateTool()
-
-
方法详细资料
-
parse
-
parse
-
parse
-
parse
-
parse
-
parse
-
addSecond
时间增加 second 秒- 参数:
date- 参数second- 参数- 返回:
- 返回 返回
-
addSecond
时间增加 second 秒(long类型)- 参数:
date- 参数second- 参数- 返回:
- 返回 返回
-
addMinute
时间增加 minute 分钟- 参数:
date- 参数minute- 参数- 返回:
- 返回 返回
-
addHour
时间增加 hour 小时- 参数:
date- 参数hour- 参数- 返回:
- 返回 返回
-
addDay
时间增加 day 天- 参数:
date- 参数day- 参数- 返回:
- 返回 返回
-
addMonth
时间增加 month 月- 参数:
date- 参数month- 参数- 返回:
- 返回 返回
-
addYear
时间增加 year 年- 参数:
date- 参数year- 参数- 返回:
- 返回 返回
-
main
-