Skip to content

Commit

Permalink
Fix : change the test code to real code tukcomCD2024#144
Browse files Browse the repository at this point in the history
  • Loading branch information
ksh-g001 committed Sep 22, 2024
1 parent e480b48 commit 1af6eec
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,10 @@ class AlarmWorkManager @Inject constructor(appContext: Context, workerParams: Wo

val calendar = Calendar.getInstance().apply {
timeInMillis = System.currentTimeMillis()
add(Calendar.MINUTE, 1)
// set(Calendar.HOUR_OF_DAY, 10)
// set(Calendar.MINUTE, random)
// set(Calendar.SECOND, 0)
// set(Calendar.MILLISECOND, 0)
set(Calendar.HOUR_OF_DAY, 10)
set(Calendar.MINUTE, random)
set(Calendar.SECOND, 0)
set(Calendar.MILLISECOND, 0)

// 오늘의 오전 10시가 이미 지났다면 내일 오전 10시로 설정
if (timeInMillis < System.currentTimeMillis()) {
Expand Down

0 comments on commit 1af6eec

Please sign in to comment.