날짜 변환 확장함수
- 현재 타임존 수정 (ASIA/Seoul -> Asia/Seoul)
This commit is contained in:
@@ -12,7 +12,7 @@ fun String.convertLocalDateTime(format: String): LocalDateTime {
|
|||||||
|
|
||||||
fun String.convertLocalDateTime(
|
fun String.convertLocalDateTime(
|
||||||
format: String = "yyyy-MM-dd",
|
format: String = "yyyy-MM-dd",
|
||||||
currentTimeZoneStr: String = "ASIA/Seoul",
|
currentTimeZoneStr: String = "Asia/Seoul",
|
||||||
hour: Int = 0,
|
hour: Int = 0,
|
||||||
minute: Int = 0,
|
minute: Int = 0,
|
||||||
second: Int = 0
|
second: Int = 0
|
||||||
|
Reference in New Issue
Block a user