DATE & TIME API: Java 8 LocalDateTime
LocalDateTime is an immutable date-time object that represents a date-time with default format as yyyy-MM-dd-HH-mm-ss.zzz. It provides a factory method that takes LocalDate and LocalTime input arguments to create LocalDateTime instance.
we have seen that if we provide invalid arguments for creating Date/Time, then it throws java.time.DateTimeException, which is a RuntimeException so we don’t need to explicitly catch it.
we can get Date/Time data by passing ZoneId, you can get the list of supported ZoneId values from its JavaDoc.
Nesta página do site você pode assistir ao vídeo on-line DATE & TIME API: Java 8 LocalDateTime | Java 8 Version duração online em boa qualidade , que foi baixado pelo usuário Testing Tutorialspoint 24 Agosto 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 68 vezes e gostou 2 espectadores. Boa visualização!