Skip to content

Commit

Permalink
build: release 0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
phy19870227 committed Dec 19, 2020
1 parent 41c812a commit e35ec6e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public class DateTimeUtil {
public static final long SENCONDS_OF_YEAR = SENCONDS_OF_DAY * 365;

/**
* 获取一个日期时间当对于当前时间的时刻<br/>
* 获取一个日期时间当对于当前时间的时刻<br>
* 1.当前时间 2020-10-10 10:10:10,传入时间 2020-10-10 10:11:8,则返回"刚刚"
* @param dateTime
* @param pattern
* @return
* @param dateTime 传入时间
* @param pattern 传入时间格式
* @return 时刻
*/
public static String getPastMoment(String dateTime, String pattern) {
return getPastMoment(dateTime, pattern, pattern);
Expand Down

0 comments on commit e35ec6e

Please sign in to comment.