Java 时间工具包 xk-time 3.2.2 发布,增加中文日期格式化和解析功能

栏目: 软件资讯 · 发布时间: 4年前

内容简介:xk-time 3.2.2 已经发布 ,更新如下: 1 新功能 (1)DateTimeFormatterUtil中增加中文日期格式化和解析方法,如:2021年09月11日 和 二〇二一年九月十一日 (2)DateTimeConverterUtil中betweenTotalDays等方法,...

xk-time 3.2.2 已经发布 ,更新如下:

1 新功能

(1)DateTimeFormatterUtil中增加中文日期格式化和解析方法,如:2021年09月11日 和 二〇二一年九月十一日

(2)DateTimeConverterUtil中betweenTotalDays等方法,增加对LocalDate的支持

2 修复bug

(1)修复TimeNLPUtil识别昨天、上月、去年等解析问题

(2)DateTimeConverterUtil中between方法中和Period相关的方法名称调整,比如betweenPeriodDays仅返回相差年月日中天数;计算相差总天数需使用betweenTotalDays方法

软件介绍:

xk-time 是时间转换,时间计算,时间格式化,时间解析,日历,时间cron表达式和时间NLP等的工具,使用 Java 8,线程安全,简单易用,多达70几种常用日期格式化模板,支持Java8时间类和Date,轻量级,无第三方依赖。


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Test Driven Development

Test Driven Development

Kent Beck / Addison-Wesley Professional / 2002-11-18 / USD 49.99

Quite simply, test-driven development is meant to eliminate fear in application development. While some fear is healthy (often viewed as a conscience that tells programmers to "be careful!"), the auth......一起来看看 《Test Driven Development》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具