LocalDateTimeSupport

LocalDateTime을 kotlin.time.Instant로 변환하는 유틸리티.

LocalDateTime은 시간대 정보가 없으므로, 변환 시 시간대를 지정해야 합니다. 기본값은 시스템 기본 시간대(ZoneId.systemDefault())입니다.

Properties

Link copied to clipboard
public final static LocalDateTimeSupport INSTANCE

Functions

Link copied to clipboard
public final static Instant toKotlinInstant(LocalDateTime localDateTime, ZoneId zoneId)
public final static Instant toKotlinInstant(LocalDateTime localDateTime)

LocalDateTime을 kotlin.time.Instant로 변환합니다.