- calElement(int, int, int) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
传出year年month月day日对应的农历.year0 .month1 .day2 .yearCyl3 .monCyl4 .dayCyl5
.isLeap6.solarTermIndex7
- CalendarUtil - com.xkzhangsan.time.calendar中的类
-
日历工具类
包括:
1.生成指定时间的日历方法,generateCalendar* 比如generateCalendar(int year, int
month) 生成指定年月的日历
2.生成指定时间的日历,包含农历和所有节假日信息方法,generateCalendarWithHoliday*, 比如
generateCalendarWithHoliday(int year, int month, Map<String, String> localHolidayMap,
Map<String, String> chineseHolidayMap, Map<String, Integer> dateTypeMap) 生成指定年月的日历,包含农历和所有节假日信息,可以自定义节假日和工作日等。
- CalendarWrapper - com.xkzhangsan.time.calendar中的类
-
日历
- CalendarWrapper() - 类 的构造器com.xkzhangsan.time.calendar.CalendarWrapper
-
- CalendarWrapper(List<YearWrapper>, Map<String, DayWrapper>, List<DayWrapper>) - 类 的构造器com.xkzhangsan.time.calendar.CalendarWrapper
-
- CalendarWrapper(List<YearWrapper>) - 类 的构造器com.xkzhangsan.time.calendar.CalendarWrapper
-
- call() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLPCallable
-
- CAPRICORN_END - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
摩羯座的终止日期 01-19
- CAPRICORN_START - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
摩羯座的起始日期 12-22
- CHINESE_DATE_DIGIT_MAP - 枚举 中的静态变量com.xkzhangsan.time.enums.ChineseDateDigitEnum
-
- CHINESE_REGEX - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
中文
- ChineseDateDigitEnum - com.xkzhangsan.time.enums中的枚举
-
中文日期数字枚举
- ChineseHolidayEnum - com.xkzhangsan.time.holiday中的枚举
-
- chineseWorkDay(long, long, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时间段内中国工作日,节假日数据holidayData,如果节假日数据不支持年份,将使用周一到周五为工作日来判断。
- chineseWorkDay(LocalDate, LocalDate, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时间段内中国工作日,节假日数据holidayData,如果节假日数据不支持年份,将使用周一到周五为工作日来判断。
- chineseWorkDayCount(long, long, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时间段内中国工作日天数,节假日数据holidayData,如果节假日数据不支持年份,将使用周一到周五为工作日来判断。
- CHUNJIE - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
春节,节日处理使用
- CHUXI - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
除夕,节日处理使用
- clear() - 类 中的方法com.xkzhangsan.time.utils.BaseCache
-
清空缓存池
- clear() - 类 中的静态方法com.xkzhangsan.time.utils.CommonCache
-
清空缓存
- clear() - 类 中的静态方法com.xkzhangsan.time.utils.RegexCache
-
清空正则缓存
- CollectionUtil - com.xkzhangsan.time.utils中的类
-
集合工具类
- CollectionUtil() - 类 的构造器com.xkzhangsan.time.utils.CollectionUtil
-
- com.xkzhangsan.time - 程序包 com.xkzhangsan.time
-
xk-time 是时间转换,时间计算,时间格式化,时间解析,日历,时间cron表达式和时间NLP等的工具,使用Java8,线程安全,简单易用,多达70几种常用日期格式化模板,支持Java8时间类和Date,轻量级,无第三方依赖。
- com.xkzhangsan.time.calculator - 程序包 com.xkzhangsan.time.calculator
-
日期计算工具类: DateTimeCalculatorUtil
- com.xkzhangsan.time.calendar - 程序包 com.xkzhangsan.time.calendar
-
日历工具类: CalendarUtil
- com.xkzhangsan.time.constants - 程序包 com.xkzhangsan.time.constants
-
常量定义
- com.xkzhangsan.time.converter - 程序包 com.xkzhangsan.time.converter
-
日期转换工具类: DateTimeConverterUtil
- com.xkzhangsan.time.cost - 程序包 com.xkzhangsan.time.cost
-
计算耗时工具类,支持秒,毫秒,纳秒: CostUtil
- com.xkzhangsan.time.cron - 程序包 com.xkzhangsan.time.cron
-
Cron表达式工具类: CronExpressionUtil
- com.xkzhangsan.time.enums - 程序包 com.xkzhangsan.time.enums
-
常用枚举
- com.xkzhangsan.time.formatter - 程序包 com.xkzhangsan.time.formatter
-
日期格式化和解析工具类: DateTimeFormatterUtil
- com.xkzhangsan.time.holiday - 程序包 com.xkzhangsan.time.holiday
-
节日处理工具类: HolidayUtil
- com.xkzhangsan.time.nlp - 程序包 com.xkzhangsan.time.nlp
-
时间自然语言分析工具类: TimeNLPUtil
注意:NLP会有一定的识别失败率,在不断迭代开发提高成功率
- com.xkzhangsan.time.utils - 程序包 com.xkzhangsan.time.utils
-
常用工具类
- CommonCache - com.xkzhangsan.time.utils中的类
-
公共缓存
- CommonTimeEnum - com.xkzhangsan.time.enums中的枚举
-
常用时间枚举
- compare(Date, Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
比较2个时间Date
- compare(Temporal, Temporal) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
比较2个时间,可用于LocalDateTime,LocalDate,LocalTime,Instant
- compareLunarMonthDay(Temporal, String) - 枚举 中的静态方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
对比农历月日,比如,农历生日等
- compareMonthDay(Temporal, String) - 枚举 中的静态方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
对比月日
- Constant - com.xkzhangsan.time.constants中的类
-
常量
- ConstellationNameEnum - com.xkzhangsan.time.enums中的枚举
-
星座名称枚举,包含英文全称,中文全称,时间范围
- convertHolidayDataToMap(String) - 类 中的静态方法com.xkzhangsan.time.utils.StringUtil
-
转换节日数据为map
- convertHolidayDataToMapUseCache(String) - 类 中的静态方法com.xkzhangsan.time.utils.StringUtil
-
转换节日数据为map,使用缓存提高性能
- convertToMap() - 枚举 中的静态方法com.xkzhangsan.time.enums.CommonTimeEnum
-
- convertToMap() - 枚举 中的静态方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
- convertToMap() - 枚举 中的静态方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
- Cost - com.xkzhangsan.time.cost中的接口
-
计算耗时
- CostUtil - com.xkzhangsan.time.cost中的类
-
计算耗时工具,支持秒,毫秒,纳秒
包括:
1.计算耗时,返回耗时结果
Cost cost = CostUtil.startMillisecondCost();
TimeUnit.MILLISECONDS.sleep(1000);
long millisecond = cost.stop();
2.计算耗时,自定义任务名称,输出耗时结果
Cost cost = CostUtil.startMillisecondCost("millisecondCostTest");
TimeUnit.MILLISECONDS.sleep(1000);
cost.stopAndPrint();
// millisecondCostTest cost: 1000 ms
3.计算耗时,返回精确计时,带3小数的结果,使用ROUND_DOWN 舍弃超过3位的小数部分
Cost cost = CostUtil.startMillisecondCost();
TimeUnit.NANOSECONDS.sleep(1000_500_000);
cost.stopAccurate();
// 1001.238
- countdown(long) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据毫秒值计算倒计时
- countdown(Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据传入时间和当前时间计算倒计时
- countdown(Date, Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据起始时间计算倒计时
- countdown(long, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据毫秒值计算倒计时
- countdownWithDay(long) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据毫秒值计算倒计时,包含天数
- countdownWithDay(long, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据毫秒值计算倒计时,包含天数
- countdownWithDay(Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据传入时间和当前时间计算倒计时
- countdownWithDay(Date, Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据起始时间计算倒计时
- countWord(String, String) - 类 中的静态方法com.xkzhangsan.time.utils.StringUtil
-
计算字符出现次数
- CronExpressionUtil - com.xkzhangsan.time.cron中的类
-
Cron表达式工具
Cron表达式从左到右(用空格隔开):秒(0~59) 分(0~59) 小时(0~23) 日期(1~31) 月份(1~12的整数或者 JAN-DEC) 星期(1~7的整数或者 SUN-SAT (1=SUN)) 年份(可选,1970~2099)
所有字段均可使用特殊字符:, - * / 分别是枚举,范围,任意,间隔
日期另外可使用:?
- cyclical(int) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
传入 offset 传回干支, 0=甲子
- filterTimeUnit(List<TimeNLP>) - 类 中的静态方法com.xkzhangsan.time.nlp.TimeNLP
-
过滤timeNLPList中无用的识别词。
- firstDayOfMonth(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前月的第一天
- firstDayOfMonth(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前月的第一天
- firstDayOfMonth(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前月的第一天
- format(Date, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 date
- format(Date, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 dateFormatPattern格式化 date
- format(Date, DateTimeFormatter, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 date 支持自定义时区
- format(LocalDateTime, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 localDateTime
- format(LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 dateFormatPattern格式化 localDateTime
- format(LocalDateTime, DateTimeFormatter, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 localDateTime 指定时区
- format(LocalDate, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 localDate
- format(LocalTime, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 localTime
- format(Instant, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 instant
- format(ZonedDateTime, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 zonedDateTime
- format(ZonedDateTime, DateTimeFormatter, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据 formatter格式化 zonedDateTime 指定时区
- format(TemporalAccessor, DateTimeFormatter) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
- format(TemporalAccessor, DateTimeFormatter, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
- formatExpression(String) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
格式化Cron表达式
- formatLongCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
格式化输出,如: 己亥猪年 二〇一九年腊月初六 星期二
- formatLongCnWithChineseHoliday() - 类 中的方法com.xkzhangsan.time.LunarDate
-
格式化输出,如:庚子鼠年 二〇二〇年正月初一 星期六 春节
- formatShort() - 类 中的方法com.xkzhangsan.time.LunarDate
-
格式化输出,如: 0101
- formatTimestampStyle(Date) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化date成Timestamp 默认格式 yyyy-mm-dd hh:mm:ss.fffffffff 其中 fffffffff 纳秒,省略后面的0 比如:
2020-05-23 17:06:30.0
2020-05-23 17:06:30.272
2020-05-23 17:06:30.27215
2020-05-23 17:06:30.27215062
- formatTimestampStyle(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化localDateTime成Timestamp 默认格式 yyyy-mm-dd hh:mm:ss.fffffffff 其中 fffffffff 纳秒,省略后面的0 比如:
2020-05-23 17:06:30.0
2020-05-23 17:06:30.272
2020-05-23 17:06:30.27215
2020-05-23 17:06:30.27215062
- formatToChineseDateStr(Date, boolean) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
中文日期格式化,isUpperCase false:2021年09月11日 true: 二〇二一年九月十一日
- formatToChineseDateStr(LocalDateTime, boolean) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
中文日期格式化,isUpperCase false:2021年09月11日 true: 二〇二一年九月十一日
- formatToDateStr(Date) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd
- formatToDateStr(Date, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd 指定时区
- formatToDateStr(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd
- formatToDateStr(LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd 指定时区
- formatToDateStr(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd
- formatToDateStr(ZonedDateTime, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回日期部分,如:yyyy-MM-dd 指定时区
- formatToDateTimeStr(Date) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss
- formatToDateTimeStr(Date, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss 指定时区
- formatToDateTimeStr(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss
- formatToDateTimeStr(LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss 指定时区
- formatToDateTimeStr(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss
- formatToDateTimeStr(ZonedDateTime, String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回完整日期时间,如:yyyy-MM-dd HH:mm:ss 指定时区
- formatToTimeStr(Date) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回时间部分,如:HH:mm:ss
- formatToTimeStr(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
格式化,返回时间部分,如:HH:mm:ss
- from(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
通过LocalDateTime创建LunarDate
- from(LocalDate) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
通过LocalDate创建LunarDate
- from(Instant) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
通过Instant创建LunarDate
- from(Date) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
通过Date创建LunarDate
- from(Temporal) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
- generateCalendar(int, int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历
- generateCalendar(int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历
- generateCalendarWithHoliday(int, int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含农历和所有节假日信息
- generateCalendarWithHoliday(int, int, Map<String, String>, Map<String, String>, Map<String, Integer>) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含农历和所有节假日信息,使用自定义数据
- generateCalendarWithHoliday(int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含农历和所有节假日信息
- generateCalendarWithHoliday(int, Map<String, String>, Map<String, String>, Map<String, Integer>) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含农历和所有节假日信息,使用自定义数据
- generateCalendarWithLocalHoliday(int, int, Map<String, String>, Map<String, Integer>) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含公历节假日信息
- generateCalendarWithLocalHoliday(int, Map<String, String>, Map<String, Integer>) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历,包含公历节假日信息
- generateCalendarWithLunar(int, int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历, 包含农历信息
- generateCalendarWithLunar(int) - 类 中的静态方法com.xkzhangsan.time.calendar.CalendarUtil
-
生成指定年月的日历, 包含农历信息
- get(K) - 类 中的方法com.xkzhangsan.time.utils.BaseCache
-
从缓存池中查找值
- get(K, Supplier<V>) - 类 中的方法com.xkzhangsan.time.utils.BaseCache
-
从缓存池中查找值,没有时尝试生成
- get(String) - 类 中的静态方法com.xkzhangsan.time.utils.CommonCache
-
查询缓存
- get(String, Supplier<Object>) - 类 中的静态方法com.xkzhangsan.time.utils.CommonCache
-
先从缓存中查找,没有编译后放入缓存
- get(String) - 类 中的静态方法com.xkzhangsan.time.utils.RegexCache
-
查询正则缓存
- get(String, int) - 类 中的静态方法com.xkzhangsan.time.utils.RegexCache
-
先从缓存中查找正则,没有编译后放入缓存
- getAge(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
计算年龄
- getAge(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
计算年龄
- getAge(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
计算年龄
- getByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.MonthNameEnum
-
根据code查询月份名称枚举
- getByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.WeekNameEnum
-
根据code查询星期名称枚举
- getChinaDay(int) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
获取农历中文日期
- getChinaYear(int) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
获取农历中文年
- getChineseDigit() - 枚举 中的方法com.xkzhangsan.time.enums.ChineseDateDigitEnum
-
- getChineseHoliday() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getChineseHoliday(Date) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取农历几日
- getChineseHoliday(Date, Map<String, String>) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取农历几日
- getChineseHoliday(Temporal) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取农历几日
- getChineseHoliday(Temporal, Map<String, String>) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取农历几日
- getChineseHoliday(Date) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取农历几日
- getChineseHoliday(Date, Map<String, String>) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取农历几日
- getChineseHoliday(Temporal) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取农历几日
- getChineseHoliday(Temporal, Map<String, String>) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取农历几日
- getCode() - 枚举 中的方法com.xkzhangsan.time.enums.CommonTimeEnum
-
- getCode() - 枚举 中的方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
- getCode() - 枚举 中的方法com.xkzhangsan.time.enums.MonthNameEnum
-
- getCode() - 枚举 中的方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
- getCode() - 枚举 中的方法com.xkzhangsan.time.enums.WeekNameEnum
-
- getCommonTimeEnumByCode(String) - 枚举 中的静态方法com.xkzhangsan.time.enums.CommonTimeEnum
-
- getConstellationNameCn(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据日期查询星座中文名称
- getConstellationNameCn(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据日期查询星座中文名称
- getConstellationNameEn(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据日期查询星座英文名称
- getConstellationNameEnumByMonthDay(String) - 枚举 中的静态方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
根据日期查询星座名称枚举
- getDate(int, int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据年月日创建Date,时间部分为:00:00:00
- getDate(int, int, int, int, int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据年月日时分秒创建Date
- getDate(int, int, int, int, int, int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
根据年月日时分秒毫秒创建Date
- getDate() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getDate() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getDateEndOfMonth(int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定月最后一天
- getDateFormatList(Date, Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的格式化时间列表,包含起始
- getDateList(Date, Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始
- getDateList(Date, Date, ChronoUnit) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始,间隔指定单位的相同时间
- getDateList(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getDateList(int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getDateStartOfMonth(int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定月第一天
- getDateStr() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getDateTimeFormatter(String) - 类 中的静态方法com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
根据格式化模板返回DateTimeFormatter,默认系统时区
- getDateType() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getDay() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getDayList() - 类 中的方法com.xkzhangsan.time.calendar.CalendarWrapper
-
- getDayMap() - 类 中的方法com.xkzhangsan.time.calendar.CalendarWrapper
-
- getDayOfMonth(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天
- getDayOfMonth(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天
- getDayOfMonth(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天
LocalDateTime LocalDate ZonedDateTime 可以直接.getDayOfMonth()
- getDayOfMonth(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天
LocalDateTime LocalDate ZonedDateTime 可以直接.getDayOfMonth()
- getDayOfWeek(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期值 1-7,星期一到星期日
- getDayOfWeek(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期值 1-7,星期一到星期日
- getDayOfWeek(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期值 1-7,星期一到星期日
- getDayOfWeek(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期值 1-7,星期一到星期日
- getDayOfWeekCn(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文,比如星期一
- getDayOfWeekCn(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文,比如星期一
- getDayOfWeekCn(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文,比如星期一
- getDayOfWeekCn(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文,比如星期一
- getDayOfWeekCnShort(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文简称,比如星期一为一
- getDayOfWeekCnShort(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文简称,比如星期一为一
- getDayOfWeekCnShort(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文简称,比如星期一为一
- getDayOfWeekCnShort(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期中文简称,比如星期一为一
- getDayOfWeekEnLong(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文全称,比如Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
- getDayOfWeekEnLong(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文全称,比如Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
- getDayOfWeekEnLong(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文全称,比如Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
- getDayOfWeekEnLong(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文全称,比如Monday, Tuesday, Wednesday, Thursday, Friday, Saturday and Sunday
- getDayOfWeekEnShort(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称,比如Mon
- getDayOfWeekEnShort(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称,比如Mon
- getDayOfWeekEnShort(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称,比如Mon
- getDayOfWeekEnShort(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称,比如Mon
- getDayOfWeekEnShortUpper(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称大写,比如MON
- getDayOfWeekEnShortUpper(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称大写,比如MON
- getDayOfWeekEnShortUpper(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称大写,比如MON
- getDayOfWeekEnShortUpper(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取星期英文简称大写,比如MON
- getDayOfYear(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天(一年中)
- getDayOfYear(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天(一年中)
- getDayOfYear(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天(一年中)
LocalDateTime LocalDate ZonedDateTime 可以直接.getDayOfYear()获取
- getDayOfYear(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取天(一年中)
LocalDateTime LocalDate ZonedDateTime 可以直接.getDayOfYear()获取
- getDayOfYear() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前时间在一年中的第几天
- getDays() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getDesc() - 枚举 中的方法com.xkzhangsan.time.enums.RegexEnum
-
- getEnd() - 类 中的方法com.xkzhangsan.time.calculator.TimePair
-
- getEndDate() - 枚举 中的方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
- getEndTime() - 枚举 中的方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
- getEpochMilli() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取时间戳
- getEpochMilliFormat() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串
- getEpochMilliFormatFull() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串,带毫秒
- getEpochMilliIsoFormat() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串 iso格式 带: 2020-02-18T22:37:55+08:00
- getEpochMilliIsoFormatFull() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串 iso格式 带毫秒 带: 2020-02-18T22:37:55.991+08:00
- getEpochMilliIsoFormatFullNoColon() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串 iso格式 带毫秒 2020-02-18T22:37:55.991+0800
- getEpochMilliIsoNotFormatNoColon() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取格式化时间戳字符串 iso格式 2020-02-18T22:37:55+0800
- getEpochSecond() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取时间戳(到秒)
- getFlags() - 枚举 中的方法com.xkzhangsan.time.enums.RegexEnum
-
- getFullNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.MonthNameEnum
-
- getFullNameCnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.MonthNameEnum
-
根据code查询月份中文全称
- getFullNameEn() - 枚举 中的方法com.xkzhangsan.time.enums.MonthNameEnum
-
- getFullNameEn() - 枚举 中的方法com.xkzhangsan.time.enums.WeekNameEnum
-
- getFullNameEnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.MonthNameEnum
-
根据code查询月份英文全称
- getFullNameEnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.WeekNameEnum
-
根据code查询星期英文全称
- getgDate() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getgDay() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getGlobalThreadPool() - 类 中的静态方法com.xkzhangsan.time.utils.GlobalThreadPool
-
- getgMonth() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getgYear() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getHoliday(Temporal) - 枚举 中的静态方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
已过时。
- getHoliday(Temporal) - 枚举 中的静态方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
已过时。
- getHolidayName(Temporal) - 枚举 中的静态方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
根据时间获取农历节日名称
- getHolidayName(Temporal) - 枚举 中的静态方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
根据时间获取节日名称
- getHour(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取小时
- getHour(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取小时
- getHour(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取小时
LocalDateTime LocalTime ZonedDateTime 可以直接.getHour()获取
- getHour(LocalTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取小时
LocalDateTime LocalTime ZonedDateTime 可以直接.getHour()获取
- getHourTime() - 枚举 中的方法com.xkzhangsan.time.enums.MomentEnum
-
- getIndexUseCache(String) - 枚举 中的静态方法com.xkzhangsan.time.enums.ChineseDateDigitEnum
-
- getInstance() - 类 中的静态方法com.xkzhangsan.time.constants.Constant
-
- getInstance() - 类 中的静态方法com.xkzhangsan.time.nlp.TextAnalysis
-
- getIsAllDayTime() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- getlAnimal() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlDate() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlDateCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlDay() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlDayCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getLeapMonthCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getLength() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getLength() - 类 中的方法com.xkzhangsan.time.calendar.YearWrapper
-
- getLengthOfYear(int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取某年的总天数
- getlMonth() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlMonthCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getLocalDate() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getLocalDateList(LocalDate, LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始
- getLocalDateList(LocalDate, LocalDate, ChronoUnit) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始,间隔指定单位的相同时间
- getLocalDateList(YearMonth) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalDateList(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalDateList(int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalDateTime() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getLocalDateTimeFormatList(LocalDateTime, LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的格式化时间列表,包含起始
- getLocalDateTimeList(LocalDateTime, LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始
- getLocalDateTimeList(LocalDateTime, LocalDateTime, ChronoUnit) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定区间的时间列表,包含起始,间隔指定单位的相同时间
- getLocalDateTimeList(YearMonth) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalDateTimeList(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalDateTimeList(int, int) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定年月的所有日期列表
- getLocalHoliday() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getLocalHoliday(Date) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取公历节日
- getLocalHoliday(Date, Map<String, String>) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取公历节日
- getLocalHoliday(Temporal) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取公历节日
- getLocalHoliday(Temporal, Map<String, String>) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取公历节日
- getLocalHoliday(Date) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取公历节日
- getLocalHoliday(Date, Map<String, String>) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取公历节日
- getLocalHoliday(Temporal) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取公历节日
- getLocalHoliday(Temporal, Map<String, String>) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取公历节日
- getLong(TemporalField) - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getLunarDate() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getLunarDateStr() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getLunarDay() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getlYear() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getlYearCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getMillisecond(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取毫秒
- getMillisecond(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取毫秒
- getMillisecond(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取毫秒
- getMillisecond(LocalTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取毫秒
- getMillisecond(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取毫秒
- getMinute(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取分钟
- getMinute(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取分钟
- getMinute(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取分钟
LocalDateTime LocalTime ZonedDateTime 可以直接.getMinute()获取
- getMinute(LocalTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取分钟
LocalDateTime LocalTime ZonedDateTime 可以直接.getMinute()获取
- getMonth(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月, 比如 1
- getMonth(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月, 比如 1
- getMonth(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月, 比如 1
LocalDateTime LocalDate ZonedDateTime 可以直接getMonthValue()
- getMonth(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月, 比如 1
LocalDateTime LocalDate ZonedDateTime 可以直接getMonthValue()
- getMonth() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonthCnLong(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文全称, 比如一月
- getMonthCnLong(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文全称, 比如一月
- getMonthCnLong(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文全称, 比如一月
- getMonthCnLong(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文全称, 比如一月
- getMonthCnLong() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonthCnShort(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文简称, 比如一
- getMonthCnShort(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文简称, 比如一
- getMonthCnShort(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文简称, 比如一
- getMonthCnShort(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月份中文简称, 比如一
- getMonthCnShort() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonthEnLong(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文全称, 比如 January
- getMonthEnLong(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文全称, 比如 January
- getMonthEnLong(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文全称, 比如 January
- getMonthEnLong(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文全称, 比如 January
- getMonthEnLong() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonthEnShort(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称, 比如 Jan
- getMonthEnShort(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称, 比如 Jan
- getMonthEnShort(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称, 比如 Jan
- getMonthEnShort(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称, 比如 Jan
- getMonthEnShort() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonthEnShortUpper(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称大写, 比如 JAN
- getMonthEnShortUpper(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称大写, 比如 JAN
- getMonthEnShortUpper(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称大写, 比如 JAN
- getMonthEnShortUpper(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取月英文简称大写, 比如 JAN
- getMonthEnShortUpper() - 类 中的方法com.xkzhangsan.time.calendar.MonthWrapper
-
- getMonths() - 类 中的方法com.xkzhangsan.time.calendar.YearWrapper
-
- getName() - 枚举 中的方法com.xkzhangsan.time.enums.CommonTimeEnum
-
- getName() - 枚举 中的方法com.xkzhangsan.time.enums.RegexEnum
-
- getName() - 枚举 中的方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
- getName() - 枚举 中的方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
- getNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
- getNameCn(LocalTime) - 枚举 中的静态方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
根据时间查询时辰名称
- getNameCn(Date) - 枚举 中的静态方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
根据时间查询时辰名称
- getNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
- getNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.WeekNameEnum
-
- getNameCnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.WeekNameEnum
-
根据code查询星期中文名称
- getNameCnByMonthDay(String) - 枚举 中的静态方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
根据日期查询星座中文名称
- getNameEnByMonthDay(String) - 枚举 中的静态方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
根据日期查询星座英文名称
- getNextTime(String, Date) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成下一个执行时间
- getNextTime(String) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成下一个执行时间
- getNextTimeList(String, Date, int) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成多个执行时间
- getNextTimeList(String, int) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成多个执行时间
- getNextTimeStr(String, Date) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成下一个执行时间的日期格式化
- getNextTimeStr(String) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成下一个执行时间的日期格式化
- getNextTimeStrList(String, Date, int) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成多个执行时间的日期格式化
- getNextTimeStrList(String, int) - 类 中的静态方法com.xkzhangsan.time.cron.CronExpressionUtil
-
生成多个执行时间的日期格式化
- getObj() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getOldTimeBase() - 类 中的方法com.xkzhangsan.time.nlp.TimeContext
-
- getPattern() - 枚举 中的方法com.xkzhangsan.time.enums.RegexEnum
-
先从缓存中查找正则,没有编译后放入缓存
- getPattern() - 枚举 中的方法com.xkzhangsan.time.holiday.ChineseHolidayEnum
-
- getPattern() - 枚举 中的方法com.xkzhangsan.time.holiday.LocalHolidayEnum
-
- getQuarter(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获得季度值
- getQuarter(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获得季度值
- getQuarter(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获得季度值
- getQuarterOfNow() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获得当前季度值
- getRule() - 枚举 中的方法com.xkzhangsan.time.enums.RegexEnum
-
- getSecond(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取秒
- getSecond(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取秒
- getSecond(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取秒
LocalDateTime LocalTime ZonedDateTime 可以直接.getSecond()获取
- getSecond(LocalTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取秒
LocalDateTime LocalTime ZonedDateTime 可以直接.getSecond()获取
- getShortNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.MonthNameEnum
-
- getShortNameCnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.MonthNameEnum
-
根据code查询月份中文
- getShortNameEnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.MonthNameEnum
-
根据code查询月份英文简称
- getShortNameEnByCode(int) - 枚举 中的静态方法com.xkzhangsan.time.enums.WeekNameEnum
-
根据code查询星期英文简称
- getSolarTerm() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getSolarTerm(Date) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取二十四节气
- getSolarTerm(Temporal) - 接口 中的静态方法com.xkzhangsan.time.holiday.Holiday
-
根据日期获取二十四节气
- getSolarTerm(Date) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取二十四节气
- getSolarTerm(Temporal) - 类 中的静态方法com.xkzhangsan.time.holiday.HolidayUtil
-
根据日期获取二十四节气
- getSolarTerm() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getStart() - 类 中的方法com.xkzhangsan.time.calculator.TimePair
-
- getStartDate() - 枚举 中的方法com.xkzhangsan.time.enums.ConstellationNameEnum
-
- getStartTime() - 枚举 中的方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
- getSuiCi() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getTime() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
获取 Date
- getTimeBase() - 类 中的方法com.xkzhangsan.time.nlp.TimeContext
-
- getTimeContext() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- getTimeExpression() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- getTimeNorm() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- getTimeNormFormat() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- getTunit() - 类 中的方法com.xkzhangsan.time.nlp.TimeContext
-
- getTwelveHoursEnum(LocalTime) - 枚举 中的静态方法com.xkzhangsan.time.enums.TwelveTwoEnum
-
根据时间查询时辰名称枚举
- getTwelveTwo(LocalTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定时间对应的十二时辰
- getTwelveTwo(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定时间对应的十二时辰
- getTwelveTwo(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取指定时间对应的十二时辰
- getTwelveTwo() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前时间对应的十二时辰
- getWeek() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getWeekCn(int) - 类 中的静态方法com.xkzhangsan.time.LunarDate
-
获取中文星期
- getWeekCn() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- getWeekCnLong() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getWeekCnShort() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getWeekEnLong() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getWeekEnShort() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getWeekEnShortUpper() - 类 中的方法com.xkzhangsan.time.calendar.DayWrapper
-
- getYear(Date) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取年,比如2020
- getYear(Instant) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取年,比如2020
- getYear(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取年,比如2020
LocalDateTime LocalDate ZonedDateTime 可以直接getYear()
- getYear(LocalDate) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取年,比如2020
LocalDateTime LocalDate ZonedDateTime 可以直接getYear()
- getYear() - 类 中的方法com.xkzhangsan.time.calendar.YearWrapper
-
- getYears() - 类 中的方法com.xkzhangsan.time.calendar.CalendarWrapper
-
- getZonedDateTimeNow(String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取时区当前时间
- getZonedDateTimeNowOfDefault() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前系统当前时区时间
- getZonedDateTimeNowOfEST() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前美国东部标准时区
- getZonedDateTimeNowOfParis() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前巴黎时区时间
- getZonedDateTimeNowOfShanghai() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前上海时区时间(北京时间)
- getZonedDateTimeNowOfTokyo() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
获取当前东京时区时间
- getZoneIdName() - 枚举 中的方法com.xkzhangsan.time.enums.ZoneIdEnum
-
- getZoneIdNameCn() - 枚举 中的方法com.xkzhangsan.time.enums.ZoneIdEnum
-
- GlobalThreadPool - com.xkzhangsan.time.utils中的类
-
公共线程池(单例),核心线程为0,最大线程为cpu+1,存活60s,使用同步队列和使用CallerRunsPolicy拒绝策略的线程池。
- TemporalAdjusterExtension - com.xkzhangsan.time中的类
-
TemporalAdjuster 扩展
- TextAnalysis - com.xkzhangsan.time.nlp中的类
-
根据正则文件分析文本中的时间字符串
- TextPreprocess - com.xkzhangsan.time.nlp中的类
-
文本预处理
- TIME_NLP_TIMEOUT - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
TimeNLP 默认解析超时时间 3s
- TimeContext - com.xkzhangsan.time.nlp中的类
-
时间表达式单元规范化对应的内部类
对应时间表达式规范化的每个字段,
六个字段分别是:年-月-日-时-分-秒,
每个字段初始化为-1
以及对比基本时间
- TimeContext() - 类 的构造器com.xkzhangsan.time.nlp.TimeContext
-
- TimeNLP - com.xkzhangsan.time.nlp中的类
-
时间自然语言分析
修改自 https://github.com/shinyke/Time-NLP
- TimeNLP(String, TextAnalysis) - 类 的构造器com.xkzhangsan.time.nlp.TimeNLP
-
时间表达式单元构造方法
该方法作为时间表达式单元的入口,将时间表达式字符串传入
- TimeNLP(String, TextAnalysis, TimeContext) - 类 的构造器com.xkzhangsan.time.nlp.TimeNLP
-
时间表达式单元构造方法
该方法作为时间表达式单元的入口,将时间表达式字符串传入
- TimeNLPCallable - com.xkzhangsan.time.nlp中的类
-
TimeNLP Callable
- TimeNLPCallable(String, String) - 类 的构造器com.xkzhangsan.time.nlp.TimeNLPCallable
-
- TimeNLPUtil - com.xkzhangsan.time.nlp中的类
-
时间自然语言分析工具类
作为xk-time的一个扩展应用功能,主要原理是根据TimeRegex.Gzip正则集合识别时间词语,然后计算得到结果。
- TimePair - com.xkzhangsan.time.calculator中的类
-
时间段
- TimePair(long, long) - 类 的构造器com.xkzhangsan.time.calculator.TimePair
-
- toDate(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转Date
- toDate(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转Date
- toDate(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalTime转Date
以当天的日期+LocalTime组成新的LocalDateTime转换为Date
- toDate(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转Date
- toDate(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli毫秒转Date
- toDate(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转Date
注意时间对应的时区和默认时区差异
- toDate(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转Date
- toDate(YearMonth, int) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转Date
注意dayOfMonth范围:1到31之间,最大值根据月份确定特殊情况,如2月闰年29,非闰年28
如果要转换为当月最后一天,可以使用下面方法:toDateEndOfMonth(YearMonth)
- toDateEndOfMonth(YearMonth) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转Date,转换为当月最后一天
- toDateStartOfMonth(YearMonth) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转Date,转换为当月第一天
- today() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
今天
- toEpochMilli(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(Timestamp) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Timestamp转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalTime转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
转换时会加上当天日期部分组成localDateTime再转换
- toEpochMilli(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转时间戳
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转时间戳,注意,zonedDateTime时区必须和当前系统时区一致,不然会出现问题
从1970-01-01T00:00:00Z开始的毫秒值
- toEpochMilli(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转时间戳
- toInstant(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转Instant
- toInstant(Timestamp) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Timestamp转Instant
- toInstant(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转Instant
- toInstant(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转Instant
- toInstant(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalTime转Instant
以当天的日期+LocalTime组成新的LocalDateTime转换为Instant
- toInstant(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli毫秒转Instant
- toInstant(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转Instant
- toInstant(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转Instant
注意,zonedDateTime时区必须和当前系统时区一致,不然会出现问题
- toLocalDate(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转LocalDate
- toLocalDate(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转LocalDate
- toLocalDate(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转LocalDate
- toLocalDate(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli毫秒转LocalDate
- toLocalDate(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转LocalDate
- toLocalDate(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转LocalDate
注意时间对应的时区和默认时区差异
- toLocalDate(YearMonth, int) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转LocalDate
注意dayOfMonth范围:1到31之间,最大值根据月份确定特殊情况,如2月闰年29,非闰年28
如果要转换为当月最后一天,可以使用下面方法:toLocalDateEndOfMonth(YearMonth)
- toLocalDateEndOfMonth(YearMonth) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转LocalDate,转换为当月最后一天
- toLocalDateStartOfMonth(YearMonth) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
YearMonth转LocalDate,转换为当月第一天
- toLocalDateTime(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转LocalDateTime
- toLocalDateTime(Timestamp) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Timestamp转LocalDateTime
- toLocalDateTime(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转LocalDateTime
- toLocalDateTime(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalTime转LocalDateTime
以当天的日期+LocalTime组成新的LocalDateTime
- toLocalDateTime(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转LocalDateTime
- toLocalDateTime(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli毫秒转LocalDateTime
- toLocalDateTime(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转LocalDateTime
- toLocalDateTime(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转LocalDateTime
注意时间对应的时区和默认时区差异
- toLocalTime(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转LocalTime
- toLocalTime(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转LocalTime
- toLocalTime(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转LocalTime
- toLocalTime(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转LocalTime
- toLocalTime(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转LocalTime
注意时间对应的时区和默认时区差异
- toLocalTime(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳的毫秒转LocalTime
- toLocalTime(int) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间部分的毫秒转LocalTime
- tomorrow() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
明天
- toString() - 类 中的方法com.xkzhangsan.time.LunarDate
-
- toString() - 类 中的方法com.xkzhangsan.time.nlp.TimeNLP
-
- toTimeMilli(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
localTime转时间部分的毫秒
- toTimestamp(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转Timestamp
- toTimestamp(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转Timestamp
- toTimestamp(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转Timestamp
- toTimestamp(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli转Timestamp
- toTimestamp(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转Timestamp
- toTimestamp(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转Timestamp
- toYearMonth(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转YearMonth
- toYearMonth(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转YearMonth
- toYearMonth(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转YearMonth
- toYearMonth(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转YearMonth
- toYearMonth(ZonedDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
ZonedDateTime转YearMonth
- toYearMonth(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转YearMonth
- toZonedDateTime(Date) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转ZonedDateTime,时区为系统默认时区
- toZonedDateTime(Date, String) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转ZonedDateTime,可以直接转换为对应的时区
- toZonedDateTime(Date, ZoneId) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Date转ZonedDateTime
- toZonedDateTime(LocalDateTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转ZonedDateTime,时区为系统默认时区
- toZonedDateTime(LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转ZonedDateTime,时区为zoneId对应时区
注意,需要保证localDateTime和zoneId是对应的,不然会出现错误
比如,localDateTime是巴黎时区下的对象,zoneId也应该是巴黎时区id
- toZonedDateTime(LocalDate) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDate转ZonedDateTime,时区为系统默认时区
- toZonedDateTime(LocalTime) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalTime转ZonedDateTime
以当天的日期+LocalTime组成新的ZonedDateTime,时区为系统默认时区
- toZonedDateTime(Instant) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
Instant转ZonedDateTime,时区为系统默认时区
- toZonedDateTime(long) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
时间戳epochMilli毫秒转ZonedDateTime,时区为系统默认时区
- toZonedDateTime(TemporalAccessor) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
temporal转ZonedDateTime,时区为系统默认时区
- toZonedDateTimeAndTransformZone(LocalDateTime, String) - 类 中的静态方法com.xkzhangsan.time.converter.DateTimeConverterUtil
-
LocalDateTime转ZonedDateTime,当前时区的LocalDateTime转换为目标时区的ZonedDateTime
注意,需要保证localDateTime当前时区下的对象
- transform(ZonedDateTime, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时区转换计算
- transform(ZonedDateTime, ZoneId) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时区转换计算
- transform(Date, String) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时区转换计算
- transform(Date, ZoneId) - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
时区转换计算
- TwelveTwoEnum - com.xkzhangsan.time.enums中的枚举
-
十二时辰枚举,包含英文全称,中文全称,时间范围
- TWENTYTHREECLOCK - 类 中的静态变量com.xkzhangsan.time.constants.Constant
-
23点
- YearWrapper - com.xkzhangsan.time.calendar中的类
-
年
- YearWrapper(int, List<MonthWrapper>) - 类 的构造器com.xkzhangsan.time.calendar.YearWrapper
-
- yesterday() - 类 中的静态方法com.xkzhangsan.time.calculator.DateTimeCalculatorUtil
-
昨天
- YY - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yy 年的后2位 比如: 20
- YY_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yy 年的后2位 比如: 20
- YY_M_D_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yy/M/d 比如:20/5/23
- YY_M_D_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yy/M/d 比如:20/5/23
- YY_MM_DD_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yy/MM/dd 比如:20/05/23
- YY_MM_DD_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yy/MM/dd 不补0 比如:20/05/23
- YYYY - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy 比如:2020
- YYYY_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy 比如:2020
- YYYY_M_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年M月 比如:2020年5月
- YYYY_M_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年M月 比如:2020年5月
- YYYY_M_D - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-M-d 不补0 比如: 2020-5-23
- YYYY_M_D_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年M月d日 不补0 比如: 2020年5月23日
- YYYY_M_D_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年M月d日 比如: 2020年5月23日
- YYYY_M_D_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/M/d 不补0 比如: 2020/5/23
- YYYY_M_D_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d 不补0 比如: 2020/5/23
- YYYY_M_D_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-M-d 不补0 比如: 2020-5-23
- YYYY_M_D_H_M - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-M-d H:m 比如:2020-5-23 17:6
- YYYY_M_D_H_M_A_AM_PM_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d h:m a 比如:2020/5/23 5:6 PM AM,PM
- YYYY_M_D_H_M_A_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/M/d h:m a 比如:2020/5/23 5:6 下午
- YYYY_M_D_H_M_A_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d h:m a 比如:2020/5/23 5:6 下午 跟随系统
- YYYY_M_D_H_M_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/M/d H:m 比如:2020/5/23 17:6
- YYYY_M_D_H_M_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d H:m 比如:2020/5/23 17:6
- YYYY_M_D_H_M_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-M-d H:m 比如:2020-5-23 17:6
- YYYY_M_D_H_M_S - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-M-d H:m:s 比如:2020-5-23 17:6:30
- YYYY_M_D_H_M_S_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/M/d H:m:s 比如:2020/5/23 17:6:30
- YYYY_M_D_H_M_S_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d H:m:s 比如:2020/5/23 17:6:30
- YYYY_M_D_H_M_S_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-M-d H:m:s 比如:2020-5-23 17:6:30
- YYYY_M_D_H_M_S_SSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-M-d H:m:s.SSS 比如:2020-5-23 17:6:30.272
- YYYY_M_D_H_M_S_SSS_COMMA - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-M-d H:m:s,SSS 比如:2020-5-23 17:6:30,272
- YYYY_M_D_H_M_S_SSS_COMMA_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-M-d H:m:s,SSS 比如:2020-5-23 17:6:30,272
- YYYY_M_D_H_M_S_SSS_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/M/d H:m:s.SSS 比如:2020/5/23 17:6:30.272
- YYYY_M_D_H_M_S_SSS_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/M/d H:m:s.SSS 比如:2020/5/23 17:6:30.272
- YYYY_M_D_H_M_S_SSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-M-d H:m:s.SSS 比如:2020-5-23 17:6:30.272
- YYYY_M_D_POINT - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy.M.d 不补0 比如:2020.5.23
- YYYY_M_D_POINT_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy.M.d 不补0 比如:2020.5.23
- YYYY_MM - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM 比如:2020-05
- YYYY_MM_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月 比如:2020年05月
- YYYY_MM_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月 比如:2020年05月
- YYYY_MM_DD - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd 比如: 2020-05-23
- YYYY_MM_DD_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月dd日 比如: 2020年05月23日
- YYYY_MM_DD_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 比如: 2020年05月23日
- YYYY_MM_DD_E - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd E 比如:2020-05-23 星期六
- YYYY_MM_DD_E_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd E 不补0 比如:2020-05-23 星期六
- YYYY_MM_DD_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/MM/dd 比如: 2020/05/23
- YYYY_MM_DD_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/MM/dd 比如: 2020/05/23
- YYYY_MM_DD_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd 比如: 2020-05-23
- YYYY_MM_DD_HH_MM - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm 比如:2020-05-23 17:06
- YYYY_MM_DD_HH_MM_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/MM/dd HH:mm 比如:2020/05/23 17:06
- YYYY_MM_DD_HH_MM_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/MM/dd HH:mm 比如:2020/05/23 17:06
- YYYY_MM_DD_HH_MM_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm 比如:2020-05-23 17:06
- YYYY_MM_DD_HH_MM_SS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm:ss 比如:2020-05-23 17:06:30
- YYYY_MM_DD_HH_MM_SS_A_AM_PM_CN_ALL_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 hh时mm分ss秒 a 比如:2020年05月23日 17时06分30秒 PM
- YYYY_MM_DD_HH_MM_SS_A_AM_PM_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 hh:mm:ss a 比如:2020年05月23日 05:06:30 PM
- YYYY_MM_DD_HH_MM_SS_A_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月dd日 hh:mm:ss a 比如:2020年05月23日 05:06:30 下午 如果需要 显示PM 需要设置 Locale.ENGLISH
- YYYY_MM_DD_HH_MM_SS_A_CN_ALL - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月dd日 hh时mm分ss秒 a 比如:2020年05月23日 17时06分30秒 下午 如果需要 显示PM 需要设置 Locale.ENGLISH
- YYYY_MM_DD_HH_MM_SS_A_CN_ALL_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 hh时mm分ss秒 a 比如:2020年05月23日 17时06分30秒 下午
- YYYY_MM_DD_HH_MM_SS_A_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 hh:mm:ss a 比如:2020年05月23日 05:06:30 下午
- YYYY_MM_DD_HH_MM_SS_CN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月dd日 HH:mm:ss 比如:2020年05月23日 17:06:30
- YYYY_MM_DD_HH_MM_SS_CN_ALL - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy年MM月dd日 HH时mm分ss秒 比如:2020年05月23日 17时06分30秒
- YYYY_MM_DD_HH_MM_SS_CN_ALL_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 HH时mm分ss秒 比如:2020年05月23日 17时06分30秒
- YYYY_MM_DD_HH_MM_SS_CN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy年MM月dd日 HH:mm:ss 比如:2020年05月23日 17:06:30
- YYYY_MM_DD_HH_MM_SS_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/MM/dd HH:mm:ss 比如:2020/05/23 17:06:30
- YYYY_MM_DD_HH_MM_SS_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/MM/dd HH:mm:ss 比如:2020/05/23 17:06:30
- YYYY_MM_DD_HH_MM_SS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm:ss 比如:2020-05-23 17:06:30
- YYYY_MM_DD_HH_MM_SS_SSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm:ss.SSS 比如:2020-05-23 17:06:30.272
- YYYY_MM_DD_HH_MM_SS_SSS_COMMA - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm:ss,SSS 比如:2020-05-23 17:06:30,272
- YYYY_MM_DD_HH_MM_SS_SSS_COMMA_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm:ss,SSS 比如:2020-05-23 17:06:30,272
- YYYY_MM_DD_HH_MM_SS_SSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm:ss.SSS 比如:2020-05-23 17:06:30.272
- YYYY_MM_DD_HH_MM_SS_SSSSSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm:ss.SSSSSS 比如:2020-05-23 17:06:30.272150
- YYYY_MM_DD_HH_MM_SS_SSSSSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm:ss.SSSSSS 比如:2020-05-23 17:06:30.272150
- YYYY_MM_DD_HH_MM_SS_SSSSSSSSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd HH:mm:ss.SSSSSSSSS 比如:2020-05-23 17:06:30.272150620
- YYYY_MM_DD_HH_MM_SS_SSSSSSSSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd HH:mm:ss.SSSSSSSSS 比如:2020-05-23 17:06:30.272150620
- YYYY_MM_DD_POINT - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy.MM.dd 比如:2020.05.23
- YYYY_MM_DD_POINT_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy.MM.dd 比如:2020.05.23
- YYYY_MM_DD_T_HH_MM_SS_SSS_XXX - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSxxx 比如:2020-05-23T17:06:30.272+08:00 2020-05-23T09:06:30.272+00:00
- YYYY_MM_DD_T_HH_MM_SS_SSS_XXX_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSxxx 比如:2020-05-23T17:06:30.272+08:00
- YYYY_MM_DD_T_HH_MM_SS_SSS_XXX_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSXXX 比如:2020-05-23T17:06:30.272+08:00 2020-05-23T09:06:30.272Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSS_XXX_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSXXX 比如:2020-05-23T17:06:30.272+08:00 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSS_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSZ 比如:2020-05-23T17:06:30.272+0800 2020-05-23T09:06:30.272+0000
- YYYY_MM_DD_T_HH_MM_SS_SSS_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSZ 比如:2020-05-23T17:06:30.272+0800
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_XXX - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSxxx 比如:2020-05-23T17:06:30.272150+08:00 2020-05-23T09:06:30.272150+00:00
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_XXX_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSxxx 比如:2020-05-23T17:06:30.272150+08:00 2020-05-23T09:06:30.272150+00:00
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_XXX_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSXXX 比如:2020-05-23T17:06:30.272150+08:00 2020-05-23T09:06:30.272150Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_XXX_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSXXX 比如:2020-05-23T17:06:30.272150+08:00 2020-05-23T09:06:30.272150Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ 比如:2020-05-23T17:06:30.272150+0800 2020-05-23T09:06:30.272150+0000
- YYYY_MM_DD_T_HH_MM_SS_SSSSSS_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ 比如:2020-05-23T17:06:30.272150+0800 2020-05-23T09:06:30.272150+0000
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_XXX - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSxxx 比如:2020-05-23T17:06:30.272150620+08:00 2020-05-23T09:06:30.272150620+00:00
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_XXX_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSxxx 比如:2020-05-23T17:06:30.272150620+08:00 2020-05-23T09:06:30.272150620+00:00
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_XXX_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSXXX 比如:2020-05-23T17:06:30.272150620+08:00 2020-05-23T09:06:30.272150620Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_XXX_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSXXX 比如:2020-05-23T17:06:30.272150620+08:00 2020-05-23T09:06:30.272150620Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSZ 比如:2020-05-23T17:06:30.272150620+0800 2020-05-23T09:06:30.272150620+0000
- YYYY_MM_DD_T_HH_MM_SS_SSSSSSSSS_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ss.SSSSSSSSSZ 比如:2020-05-23T17:06:30.272150620+0800 2020-05-23T09:06:30.272150620+0000
- YYYY_MM_DD_T_HH_MM_SS_XXX - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ssxxx 比如:2020-05-23T17:06:30+08:00 2020-05-23T09:06:30+00:00 0时区时末尾 为+00:00
- YYYY_MM_DD_T_HH_MM_SS_XXX_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ssxxx 比如:2020-05-23T17:06:30+08:00 0时区时末尾 为+00:00
- YYYY_MM_DD_T_HH_MM_SS_XXX_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ssXXX 比如:2020-05-23T17:06:30+08:00 2020-05-23T09:06:30Z 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_XXX_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ssXXX 比如:2020-05-23T17:06:30+08:00 0时区时末尾 为Z
- YYYY_MM_DD_T_HH_MM_SS_Z - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy-MM-dd'T'HH:mm:ssZ 比如:2020-05-23T17:06:30+0800 2020-05-23T09:06:30+0000
- YYYY_MM_DD_T_HH_MM_SS_Z_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM-dd'T'HH:mm:ssZ 比如:2020-05-23T17:06:30+0800
- YYYY_MM_EN - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyy/MM 比如:2020/05
- YYYY_MM_EN_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy/MM 比如:2020/05
- YYYY_MM_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyy-MM 比如:2020-05
- YYYYMM - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyyMM 比如:202005
- YYYYMM_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyyMM 比如:202005
- YYYYMMDD - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyyMMdd 比如: 20200523
- YYYYMMDD_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyyMMdd 比如: 20200523
- YYYYMMDDHHMM - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyyMMddHHmm 比如:202005231706
- YYYYMMDDHHMM_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyyMMddHHmm 比如:202005231706
- YYYYMMDDHHMMSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyyMMddHHmmss 比如:20200523170630
- YYYYMMDDHHMMSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyyMMddHHmmss 比如:20200523170630
- YYYYMMDDHHMMSSSSS - 类 中的静态变量com.xkzhangsan.time.formatter.DateFormatPattern
-
yyyyMMddHHmmssSSS 比如:20200523170630272
- YYYYMMDDHHMMSSSSS_FMT - 类 中的静态变量com.xkzhangsan.time.formatter.DateTimeFormatterUtil
-
yyyyMMddHHmmssSSS 比如:20200523170630272
Jdk8 解析 yyyyMMddHHmmssSSS bug,推荐解决用法 :https://bugs.java.com/bugdatabase/view_bug.do?