-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX/#322] 온보딩, 데이트피커 / 3차 스프린트 QA 반영
- Loading branch information
Showing
4 changed files
with
21 additions
and
25 deletions.
There are no files selected for viewing
8 changes: 7 additions & 1 deletion
8
core/designsystem/src/main/java/com/terning/core/designsystem/util/CalendarDefaults.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
package com.terning.core.designsystem.util | ||
|
||
import com.terning.core.designsystem.extension.currentMonth | ||
import com.terning.core.designsystem.extension.currentYear | ||
import java.util.Calendar | ||
|
||
object CalendarDefaults { | ||
const val START_YEAR = 2010 | ||
const val END_YEAR = 2030 | ||
val END_YEAR = | ||
if (Calendar.getInstance().currentMonth >= 10) Calendar.getInstance().currentYear + 1 | ||
else Calendar.getInstance().currentYear | ||
const val START_MONTH = 1 | ||
const val END_MONTH = 12 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters