The examples are extracted from open source Java projects from GitHub. Public methods; Temporal: adjustInto(Temporal temporal) Adjusts the specified temporal object to have this instant. import java.time.Instant; import java.time.OffsetDateTime; import java.time.ZonedDateTime; import java.time.format.DateTimeParseException; I know that: Instant is rather a "technical" timestamp representation (nanoseconds) for computing. This returns an OffsetDateTime formed from this instant at the specified offset from UTC/Greenwich. Default conversions for standard types like java.time.Instant should be safe and there should be no room for interpretation or ambiguity. Obtains an instance of OffsetDateTime from an Instant and zone ID. This creates an offset date-time with the same instant as that specified. Obtains an instance of OffsetDateTime from an Instant and zone ID. Instant, OffsetDateTime, ... a new Java date/time API that is proposed for Java 7. You may think Instant, OffsetDateTime and ZonedDateTime are very much alike, after all, they all store the date and time to a nanosecond precision. You may think Instant, OffsetDateTime and ZonedDateTime are very much alike, after all, they all store the date and time to a nanosecond precision. This creates an offset date-time with the same instant as that specified. The java.time.Instant class models a single instantaneous point on the time-line. This creates an offset date-time with the same instant as that specified. This section provides a tutorial example on how to use the java.time.OffsetDateTime class to record and manipulate date and time local to specific UTC offset. This returns an OffsetDateTime formed from this instant at the specified offset from UTC/Greenwich. I note: - Instant has In{Utc,Zone} to augment an instant with a given zone. How to use Java 8 Instant class with various examples which covers add, subtract, parse/format and convert to java.util.date etc. In the last example we see the use of the Instant class which we will introduce soon. Converting DateTimes by Offsets with NodaTime. Obtains an instance of OffsetDateTime from an Instant and zone ID. ZonedDateTime adds full time-zone rules. Serialization XML serialization. Obtains an instance of OffsetDateTime from an Instant and zone ID. An overview starting with some basic classes of the Java 8 package: Instant, LocalDate, LocalTime, and LocalDateTime. Obtains an instance of OffsetDateTime from an Instant and zone ID. public final class OffsetDateTime extends java.lang.Object ... OffsetDateTime and Instant both store an instant on the time-line to nanosecond precision. Simply create an OffsetDateTime from an instant and resolve the offset using this method to be accurate. Pull Request: OffsetDateTime.SwitchOffset #246. OffsetDateTime This page provides Java code examples for java.time.OffsetDateTime. This creates an offset date-time with the same instant as that specified. Consider if OffsetDateTime and ZonedDateTime can be merged ... OffsetDateTime and ZonedDateTime are ... not interchangeable even if they refer to the same instant. Adjusts the specified temporal object to have this instant. Adjusts the specified temporal object to have this instant. This creates an offset date-time with the same instant as that specified. OffsetDateTime As of Noda Time 1.2, the following types implement IXmlSerializable and can therefore be serialized: Instant; OffsetDateTime The examples are extracted from open source Java projects from GitHub. This returns an OffsetDateTime formed from this instant at the specified offset from UTC/Greenwich. OffsetDateTime adds to the instant the offset from UTC/Greenwich, which allows the local date-time to be obtained.