자바시간차이1 자바 - 날짜와 시간 import java.time.LocalDate; import java.time.LocalDateTime; import java.time.LocalTime; import java.time.Period; import java.time.format.DateTimeFormatter; import java.time.format.FormatStyle; public class Main { public static void main(String[] args) { // 현재 시간 System.out.println("now usages"); LocalDate date = LocalDate.now(); LocalTime time = LocalTime.now(); LocalDateTime dateTIme = LocalDat.. 2023. 2. 20. 이전 1 다음