Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
S
swiftcleanerphonehelper
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanglei
swiftcleanerphonehelper
Commits
c3e9376a
Commit
c3e9376a
authored
Jan 03, 2025
by
Your Name
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
正式包
parent
b8543ad4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
Utils.kt
app/src/main/java/com/swiftcleaner/chovey/util/Utils.kt
+18
-0
No files found.
app/src/main/java/com/swiftcleaner/chovey/util/Utils.kt
0 → 100644
View file @
c3e9376a
package
com.swiftcleaner.chovey.util
import
android.content.Context
import
java.text.SimpleDateFormat
import
java.util.Date
import
java.util.Locale
/**
* 作者:马海钊
* 时间:2024/12/26 18:41
* 功能:
*/
object
Utils
{
fun
Context
.
toDate
():
String
{
val
formatter
=
SimpleDateFormat
(
"yyyy-MM-dd"
,
Locale
.
getDefault
())
return
formatter
.
format
(
Date
())
}
}
\ No newline at end of file
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