Simple Solution
  • Java
  • Spring
  • Spring Boot
  • Tutorials
  • Tags
Java Convert OffsetDateTime to LocalDateTime
Java Convert OffsetDateTime to LocalDateTime

In this Java core tutorial we learn how to convert an OffsetDateTime object to a LocalDateTime object in Java programming language.

Java Convert OffsetDateTime to LocalTime
Java Convert OffsetDateTime to LocalTime

In this Java core tutorial we learn how to convert an OffsetDateTime object to a LocalTime object in Java programming language.

Java Convert OffsetDateTime to LocalDate
Java Convert OffsetDateTime to LocalDate

In this Java core tutorial we learn how to convert an OffsetDateTime object to a LocalDate object in Java programming language.

Java Convert OffsetDateTime to ZoneOffset
Java Convert OffsetDateTime to ZoneOffset

In this Java core tutorial we learn how to convert an OffsetDateTime object to a ZoneOffset object in Java programming language.

Java Convert OffsetDateTime to Epoch Seconds
Java Convert OffsetDateTime to Epoch Seconds

In this Java core tutorial we learn how to convert an OffsetDateTime object to epoch seconds in Java programming language.

Java Compare two OffsetDateTime Values
Java Compare two OffsetDateTime Values

In this Java core tutorial we learn how to compare two java.time.OffsetDateTime objects in Java programming language using compareTo(), isEqual(), equals(), isBefore() and isAfter() methods.

Java OffsetDateTime.atZoneSimilarLocal() Method with Examples
Java OffsetDateTime.atZoneSimilarLocal() Method with Examples

In this Java core tutorial we learn how to use the java.time.OffsetDateTime.atZoneSimilarLocal(ZoneId zone) method to convert a OffsetDateTime object to a ZonedDateTime object trying to keep the same local date and time.

Java OffsetDateTime.atZoneSameInstant() Method with Examples
Java OffsetDateTime.atZoneSameInstant() Method with Examples

In this Java core tutorial we learn how to use the java.time.OffsetDateTime.atZoneSameInstant(ZoneId zone) method to convert a OffsetDateTime object to a ZonedDateTime object ensuring that the result has the same instant.

Java OffsetDateTime.format() Method with Examples
Java OffsetDateTime.format() Method with Examples

In this Java core tutorial we learn how to use the java.time.OffsetDateTime.format(DateTimeFormatter formatter) method to format a OffsetDateTime object to a date time String in Java programming language.

Java OffsetDateTime.minusNanos() Method with Examples
Java OffsetDateTime.minusNanos() Method with Examples

In this Java core tutorial we learn how to use the java.time.OffsetDateTime.minusNanos() method to subtract a number of nanos from an OffsetDateTime object in Java programming language.

  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 10

Copyright © 2019 SimpleSolution.dev. All Rights Reserved.