Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
熊鹏飞
/
xxljob220
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85cd6361
authored
Oct 25, 2019
by
xuxueli
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
https://github.com/xuxueli/xxl-job
parents
1ad83552
08f6177d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
xxl-job-core/src/main/java/com/xxl/job/core/util/DateUtil.java
xxl-job-core/src/main/java/com/xxl/job/core/util/DateUtil.java
View file @
85cd6361
...
@@ -24,7 +24,7 @@ public class DateUtil {
...
@@ -24,7 +24,7 @@ public class DateUtil {
private
static
final
String
DATE_FORMAT
=
"yyyy-MM-dd"
;
private
static
final
String
DATE_FORMAT
=
"yyyy-MM-dd"
;
private
static
final
String
DATETIME_FORMAT
=
"yyyy-MM-dd HH:mm:ss"
;
private
static
final
String
DATETIME_FORMAT
=
"yyyy-MM-dd HH:mm:ss"
;
private
static
ThreadLocal
<
Map
<
String
,
DateFormat
>>
dateFormatThreadLocal
=
new
ThreadLocal
<
Map
<
String
,
DateFormat
>>();
private
static
final
ThreadLocal
<
Map
<
String
,
DateFormat
>>
dateFormatThreadLocal
=
new
ThreadLocal
<
Map
<
String
,
DateFormat
>>();
private
static
DateFormat
getDateFormat
(
String
pattern
)
{
private
static
DateFormat
getDateFormat
(
String
pattern
)
{
if
(
pattern
==
null
||
pattern
.
trim
().
length
()==
0
)
{
if
(
pattern
==
null
||
pattern
.
trim
().
length
()==
0
)
{
throw
new
IllegalArgumentException
(
"pattern cannot be empty."
);
throw
new
IllegalArgumentException
(
"pattern cannot be empty."
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment