Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
reyun
manager
Commits
73730be0
Commit
73730be0
authored
Jul 16, 2021
by
lzxry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
parent
cf1f5f45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
DateUtil.java
src/main/java/util/DateUtil.java
+7
-3
No files found.
src/main/java/util/DateUtil.java
View file @
73730be0
...
...
@@ -1108,7 +1108,7 @@ public class DateUtil {
/**
* 某一个月号第一天和最后一天
*
* @param date
* @param date
Str
* @return
*/
public
static
String
getFirstday_Lastday_Month
(
String
dateStr
)
{
...
...
@@ -1158,7 +1158,7 @@ public class DateUtil {
/**
* 某一个月号第一天
*
* @param
date
* @param
monthno
* @return
*/
public
static
String
getFirstdayOfMonth
(
String
monthno
)
{
...
...
@@ -1197,7 +1197,7 @@ public class DateUtil {
/**
* 某一个月号最后一天
*
* @param
date
* @param
monthno
* @return
*/
public
static
String
getLastdayOfMonth
(
String
monthno
)
{
...
...
@@ -1499,6 +1499,10 @@ public class DateUtil {
return
sdf
.
format
(
date
);
}
public
static
String
now
(){
return
format
(
new
Date
(),
DateUtil
.
C_TIME_PATTON_DEFAULT
);
}
public
static
void
main
(
String
[]
args
)
{
// String UTCTimeStr = getUTCTimeStr() ;
// System.out.println(UTCTimeStr);
...
...
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