-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
68 additions
and
15 deletions.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
app/src/main/java/org/android/bbangzip/presentation/model/Date.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.android.bbangzip.presentation.model | ||
|
||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Parcelize | ||
data class Date( | ||
val year: String, | ||
val month: String, | ||
val day: String, | ||
) : Parcelable |
5 changes: 5 additions & 0 deletions
5
app/src/main/java/org/android/bbangzip/presentation/util/constant/DateConstant.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,5 +1,10 @@ | ||
package org.android.bbangzip.presentation.util.constant | ||
|
||
import java.time.LocalDate | ||
|
||
object DateConstant { | ||
const val YEAR_OF_TODAY = 2025 | ||
|
||
val YEARS_LIST = (YEAR_OF_TODAY..2099).map { it.toString() + "년" } | ||
val MONTHS_LIST = (1..12).map { it.toString() + "월" } | ||
} |