반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- 걸음수 감지 센서
- 코틀린
- 금속 탐지기 센서
- 웹코드빌드
- RecyclerView
- 자기장 센서
- 온라인IDE
- lateinit
- utf8mb4
- 동영상 실행
- phpstorm
- Aplha
- Exoplayer
- powercfg
- Android
- Android Studio 3.6
- 온라인에디터
- 자격증
- BottomSheetDialog
- setBackgroundResource
- 회전 센서
- 온라인무료코딩사이트
- 온라인코딩
- Kotlin
- mysql 5.7
- 광 센서
- 걸음 감지 센서
- ARGB
- LayoutParmas
Archives
- Today
- Total
목록Calendar (1)
Memory

fun dateDay(date : Date) : String { val dayFormat = SimpleDateFormat("dd", Locale.getDefault()) val day = dayFormat.format(date) return day } fun getWeekDate() : Pair{ val calendar = Calendar.getInstance() calendar.time = Date() // 오늘 날짜의 주 구하기 val week_of_year = calendar.get(Calendar.WEEK_OF_YEAR) // 월요일 calendar.add(Calendar.DAY_OF_MONTH, (2-calendar.get(Calendar.DAY_OF_WEEK))) val mondayDate ..
IT/ANDROID
2021. 1. 23. 19:41