Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RvApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lify
RvApp
Commits
75e7f48c
Commit
75e7f48c
authored
Jun 11, 2019
by
linfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间文件提交
parent
cab4d387
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
TimeManager.java
...src/main/java/com/ruiwenliu/wrapper/util/TimeManager.java
+7
-0
No files found.
RvWrapper/src/main/java/com/ruiwenliu/wrapper/util/TimeManager.java
View file @
75e7f48c
...
@@ -82,4 +82,11 @@ public class TimeManager {
...
@@ -82,4 +82,11 @@ public class TimeManager {
Date
date
=
new
Date
(
lt
);
Date
date
=
new
Date
(
lt
);
return
simpleDateFormat
.
format
(
date
);
return
simpleDateFormat
.
format
(
date
);
}
}
public
static
String
stampToDate2
(
String
s
){
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
long
lt
=
new
Long
(
s
);
Date
date
=
new
Date
(
lt
);
return
simpleDateFormat
.
format
(
date
);
}
}
}
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