Skip to content

Commit

Permalink
升级版本
Browse files Browse the repository at this point in the history
  • Loading branch information
xkzhangsan committed Dec 25, 2021
1 parent 60d8972 commit 4a30df0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
19 changes: 16 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#3.2.0
# 3.2.0

## 1 新功能
(1)TimeNLPUtil增加多种调用方式,比如parseConcurrent 并发执行,可设置超时时间和自定义线程池等,提高执行效率。(Mini版无TimeNLPUtil功能)
Expand All @@ -17,7 +17,7 @@
---

#3.2.1
# 3.2.1

## 1 新功能
(1)DateTimeConverterUtil增加TemporalAccessor相关转换方法,比如: TemporalAccessor转Date
Expand All @@ -34,7 +34,7 @@
---

#3.2.2
# 3.2.2

## 1 新功能
(1)DateTimeFormatterUtil中增加文日期格式化和解析方法,如:2021年09月11日 和 二〇二一年九月十一日
Expand All @@ -48,3 +48,16 @@
(2)DateTimeConverterUtil中between方法中和Period相关的方法名称调整,比如betweenPeriodDays仅返回相差年月日中天数;计算相差总天数需使用betweenTotalDays方法

---

# 3.2.3

## 1 新功能
(1)DateTimeConverterUtil中新增单位转换直接返回字符串方法,同时去掉末尾的0


## 2 修复bug
(1)修复TimeNLPUtil解析中文时间问题,比如:yyyy年MM月dd日 HH:mm:ss

(2)修复TimeNLPUtil解析同时包含时分秒问题,比如:1小时50分钟10秒后

---
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<a target="_blank" href="https://search.maven.org/search?q=g:%22com.github.xkzhangsan%22%20AND%20a:%22xk-time%22">
<img src="https://img.shields.io/maven-central/v/com.github.xkzhangsan/xk-time.svg?label=Maven%20Central" />
</a>
<a href="https://www.codacy.com/app/xkzhangsan/xk-time?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=xkzhangsan/xk-time&amp;utm_campaign=Badge_Grade">
<img src="https://api.codacy.com/project/badge/Grade/3e1b8a70248c46579b7b0d01d60c6377"/>
</a>
<a target="_blank" href="https://gitee.com/xkzhangsan/xk-time/stargazers">
<img src="https://gitee.com/xkzhangsan/xk-time/badge/star.svg?theme=dark" alt='gitee star'/>
</a>
Expand All @@ -32,19 +29,19 @@ xk-time is a tool for time conversion, time calculation, time formatting, time p
<dependency>
<groupId>com.github.xkzhangsan</groupId>
<artifactId>xk-time</artifactId>
<version>3.2.2</version>
<version>3.2.3</version>
</dependency>
Mini版本不包含 time nlp 功能,更简洁。
<dependency>
<groupId>com.github.xkzhangsan</groupId>
<artifactId>xk-time</artifactId>
<version>3.2.2.Mini</version>
<version>3.2.3.Mini</version>
</dependency>
### 1.2 Gradle
compile group: 'com.github.xkzhangsan', name: 'xk-time', version: '3.2.2'
compile group: 'com.github.xkzhangsan', name: 'xk-time', version: '3.2.3'
### 注意:Android谨慎使用,Android端因为需要兼容低版本而不支持Java8,建议继续使用其他工具,如果有需要本项目相关的功能,可以参考源码实现,或留言给我。感谢支持!

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.xkzhangsan</groupId>
<artifactId>xk-time</artifactId>
<version>3.2.2</version>
<version>3.2.3</version>
<packaging>jar</packaging>
<name>xk-time</name>
<url>https://github.com/xkzhangsan/xk-time</url>
Expand Down

0 comments on commit 4a30df0

Please sign in to comment.