Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MiYaFastCashier
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangjiantao
MiYaFastCashier
Commits
cc6fa259
Commit
cc6fa259
authored
Feb 09, 2023
by
赵鹏翔
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
utils convert java 2 koltin
parent
4371306f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
481 additions
and
494 deletions
+481
-494
BaseBean.java
...c/main/java/com/fastcashier/lib_common/base/BaseBean.java
+0
-17
BaseBean.kt
...src/main/java/com/fastcashier/lib_common/base/BaseBean.kt
+14
-0
OrderRecordManageKit.kt
...stcashier/lib_common/function/pay/OrderRecordManageKit.kt
+1
-1
DateUtils.java
.../main/java/com/fastcashier/lib_common/util/DateUtils.java
+0
-474
DateUtils.kt
...rc/main/java/com/fastcashier/lib_common/util/DateUtils.kt
+463
-0
LogFileUtils.kt
...main/java/com/fastcashier/lib_common/util/LogFileUtils.kt
+3
-2
No files found.
lib_common/src/main/java/com/fastcashier/lib_common/base/BaseBean.java
deleted
100644 → 0
View file @
4371306f
package
com
.
fastcashier
.
lib_common
.
base
;
import
java.io.Serializable
;
/**
* 基础DO类,提供toString快方法
*/
public
class
BaseBean
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
// public String toString() {
// return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
// }
}
lib_common/src/main/java/com/fastcashier/lib_common/base/BaseBean.kt
0 → 100644
View file @
cc6fa259
package
com.fastcashier.lib_common.base
import
java.io.Serializable
/**
* 基础DO类,提供toString快方法
*/
open
class
BaseBean
:
Serializable
{
companion
object
{
private
const
val
serialVersionUID
=
1L
// public String toString() {
// return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
// }
}
}
\ No newline at end of file
lib_common/src/main/java/com/fastcashier/lib_common/function/pay/OrderRecordManageKit.kt
View file @
cc6fa259
...
...
@@ -86,7 +86,7 @@ class OrderRecordManageKit {
}
private
fun
getYesterdayOrderMMKV
():
MMKV
{
val
yesteday
=
DateUtils
.
getYestedayFormat8
()
val
yesteday
=
DateUtils
.
yestedayFormat8
val
MMKV_ID_YESTERDAY
=
MMKV_ID
.
plus
(
yesteday
)
return
MMKV
.
mmkvWithID
(
MMKV_ID_YESTERDAY
)
}
...
...
lib_common/src/main/java/com/fastcashier/lib_common/util/DateUtils.java
deleted
100644 → 0
View file @
4371306f
This diff is collapsed.
Click to expand it.
lib_common/src/main/java/com/fastcashier/lib_common/util/DateUtils.kt
0 → 100644
View file @
cc6fa259
This diff is collapsed.
Click to expand it.
lib_common/src/main/java/com/fastcashier/lib_common/util/LogFileUtils.kt
View file @
cc6fa259
...
...
@@ -6,8 +6,9 @@ import android.content.pm.PackageManager
import
android.os.AsyncTask
import
android.os.Environment
import
android.util.Log
import
com.fastcashier.lib_common.util.DateUtils
import
com.fastcashier.lib_common.util.DateUtils.*
import
com.fastcashier.lib_common.util.DateUtils.DF_YYYYMMDD
import
com.fastcashier.lib_common.util.DateUtils.format8
import
com.fastcashier.lib_common.util.DateUtils.stringToLong
import
java.io.*
import
java.nio.charset.Charset
import
java.text.ParseException
...
...
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