| toLocalDateTime(Date date) | LocalDateTime | 将 Date 转换为 LocalDateTime |
| toLocalDateTime(Instant instant) | LocalDateTime | 将 Instant 转换为 LocalDateTime |
| toLocalDateTime(LocalDate date, int hour, int minute, int second) | LocalDateTime | 将 LocalDate 转换为 LocalDateTime |
| toLocalDateTime(LocalDate date) | LocalDateTime | 将 LocalDate 转换为 LocalDateTime |
| toLocalDateTime(Number timestamp) | LocalDateTime | 将时间戳转换为 LocalDateTime |
| toLocalDateTime(CharSequence dateString) | LocalDateTime | 将日期字符串转换为 LocalDateTime |
| toLocalDateTime(CharSequence dateString, CharSequence... formats) | LocalDateTime | 将指定格式的日期字符串转换为 LocalDateTime |
| toLocalDate(Date date) | LocalDate | 将 Date 类型转换为 LocalDate |
| toLocalDate(LocalDateTime date) | LocalDate | 将 LocalDateTime 类型转换为 LocalDate |
| toLocalDate(Number timestamp) | LocalDate | 将时间戳转换为 LocalDate |
| toLocalDate(CharSequence dateString) | LocalDate | 将字符串转换为 LocalDate |
| toLocalDate(CharSequence dateString, CharSequence... formats) | LocalDate | 将指定格式的日期字符串转换为 LocalDate |
| toLocalTime(Date date) | LocalTime | 将 Date 转换为 LocalTime |
| toLocalTime(LocalDateTime date) | LocalTime | 将 LocalDateTime 转换为 LocalTime |
| toLocalTime(Number timestamp) | LocalTime | 将时间戳转换为 LocalTime |
| toLocalTime(CharSequence dateString) | LocalTime | 将日期字符串转换为 LocalTime |
| toLocalTime(CharSequence dateString, CharSequence... formats) | LocalTime | 将指定格式的日期字符串转换为 LocalTime |
| toDate(LocalDateTime date) | Date | 将 LocalDateTime 转换为 Date 对象 |
| toDate(LocalDate date) | Date | 将 LocalDate 转换为 Date 对象 |
| toDate(Number timestamp) | Date | 将时间戳转换为 Date |
| toDate(CharSequence dateString) | Date | 将日期字符串转换为 Date 对象 |
| toDate(CharSequence dateString, CharSequence... formats) | Date | 将指定格式的日期字符串转换为 Date |
| toString(LocalDateTime date) | String | 返回 ISO-8601 格式日期时间字符串 |
| toString(LocalDate date) | String | 返回 ISO-8601 格式日期字符串 |
| toString(Date date) | String | 返回 ISO-8601 格式日期字符串 |
| toString(LocalDateTime date, String format) | String | 按照指定格式将日期时间转换为字符串 |
| toString(LocalDate date, String format) | String | 按照指定格式将日期时间转换为字符串 |
| toString(Date date, String format) | String | 按照指定格式将日期时间转换为字符串 |
| addTime(LocalDateTime date, int hours, int minutes, int seconds) | LocalDateTime | 返回增加时间后的新日期时间 |
| addTime(Date date, int hours, int minutes, int seconds) | Date | 返回增加时间后的新日期时间 |
| setTime(LocalDateTime date, int hours, int minutes, int seconds) | LocalDateTime | 返回某日期指定时间的对象 |
| setTime(Date date, int hours, int minutes, int seconds) | Date | 返回某日期指定时间的对象 |
| addDays(Date date, int days) | Date | 返回增加天数后的新日期 |
| getTimestamp() | Long | 返回当前时间戳(13 位,即毫秒级) |
| getTimestamp(Date date) | Long | 获取时间戳(13 位,即毫秒级) |
| getTimestamp(LocalDateTime date) | Long | 获取时间戳(13 位,即毫秒级) |
| getTimestamp(LocalDate date) | Long | 获取时间戳(13 位,即毫秒级) |
| getUnixTimestamp() | Long | 获取当前 UNIX 时间戳(10 位,即秒级) |
| getUnixTimestamp(Date date) | Long | 获取 UNIX 时间戳(10 位,即秒级) |
| getUnixTimestamp(LocalDateTime date) | Long | 获取 UNIX 时间戳(10 位,即秒级) |
| getUnixTimestamp(LocalDate date) | Long | 获取 UNIX 时间戳(10 位,即秒级) |
| getYearStartDay(LocalDate date) | LocalDate | 获取指定日期当年第一天的日期 |
| getYearEndDay(LocalDate date) | LocalDate | 获取指定日期当年的最后一天的日期 |
| getYearStart(LocalDateTime date) | LocalDateTime | 获取指定日期当年第一天 0 时的日期时间 |
| getYearEnd(LocalDateTime date) | LocalDateTime | 获取 指定日期当年最后一天最后一刻的日期时间 |
| getMonthStartDay(LocalDate date) | LocalDate | 获取指定日期当月第一天的日期 |
| getMonthEndDay(LocalDate date) | LocalDate | 获取指定日期当月最后一天的日期 |
| getMonthStart(LocalDateTime date) | LocalDateTime | 获取指定日期当月第一天 0 时的日期时间 |
| getMonthEnd(LocalDateTime date) | LocalDateTime | 获取指定日期当月最后一天最后一刻的日期时间 |
| getWeekStartDay(LocalDate date) | LocalDate | 获取指定日期当周周一的日期 |
| getWeekEndDay(LocalDate date) | LocalDate | 获取指定日期当周周日的日期 |
| getWeekStart(LocalDateTime date) | LocalDateTime | 获取指定日期当周周一的日期时间 |
| getWeekEnd(LocalDateTime date) | LocalDateTime | 获取指定日期当周周日的日期时间 |
| getDayStart(LocalDateTime date) | LocalDateTime | 获取指定日期的开始时间 |
| getDayEnd(LocalDateTime date) | LocalDateTime | 获取指定日期的结束时间 |
| getThisYearStart() | LocalDateTime | 获取今年第一天开始时间 |
| getThisYearEnd() | LocalDateTime | 获取今年最后一天最后一刻 |
| getThisMonthStart() | LocalDateTime | 获取当前月第一天的开始日期时间 |
| getThisMonthEnd() | LocalDateTime | 获取当前月最后一天最后一刻 |
| getTodayStart() | LocalDateTime | 获取今天最开始的日期时间 |
| getTodayEnd() | LocalDateTime | 获取今天最后一刻 |
| getLastYearStart() | LocalDateTime | 获取去年第一天开始时间 |
| getLastYearEnd() | LocalDateTime | 获取去年最后一天的最后一刻 |
| getLastMonthStart(LocalDate date) | LocalDateTime | 获取指定日期上个月的第一天的开始时间 |
| getLastMonthStart(LocalDateTime date) | LocalDateTime | 获取指定日期上个月的第一天的开始时间 |
| getLastMonthEnd(LocalDate date) | LocalDateTime | 获取指定日期上个月的最后一天的最后一刻 |
| getLastMonthEnd(LocalDateTime date) | LocalDateTime | 获取指定日期上个月的最后一天的最后一刻 |
| getThisWeekday(LocalDate date, Integer weekday) | LocalDate | 获取指定日期当周指定天 |
| getThisWeekday(LocalDateTime date, Integer weekday) | LocalDate | 获取指定日期当周指定星期几 |
| getNextWeekday(LocalDate date, Integer weekday) | LocalDate | 获取指定日期的下一个星期几(当周或下周) |
| getPrevWeekday(LocalDate date, Integer weekday) | LocalDate | 获取指定日期上个星期几(当周或上周) |
| getNextWeekday(Integer weekday) | LocalDate | 获取下一个周几(本周或下周) |
| getPrevWeekday(Integer weekday) | LocalDate | 获取上一个周几(本周或上周) |
| today() | LocalDate | 获取当前日期 |
| now() | LocalDateTime | 获取当前日期时间 |
| getCurrentDate() | Date | 获取当前日期时间 |