Module java.base
Package java.time

# Class OffsetDateTime

=
public final class OffsetDateTime
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<java.time.OffsetDateTime>, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster

## Fields

- =
  public static final java.time.OffsetDateTime MAX
- =
  public static final java.time.OffsetDateTime MIN

## Methods

- =
  public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal arg0)
- =
  public java.time.ZonedDateTime atZoneSameInstant(java.time.ZoneId arg0)
- =
  public java.time.ZonedDateTime atZoneSimilarLocal(java.time.ZoneId arg0)
- =
  public int compareTo(java.time.OffsetDateTime arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.lang.String format(java.time.format.DateTimeFormatter arg0)
- =
  public static java.time.OffsetDateTime from(java.time.temporal.TemporalAccessor arg0)
- =
  public int get(java.time.temporal.TemporalField arg0)
- =
  public int getDayOfMonth()
- =
  public java.time.DayOfWeek getDayOfWeek()
- =
  public int getDayOfYear()
- =
  public int getHour()
- =
  public long getLong(java.time.temporal.TemporalField arg0)
- =
  public int getMinute()
- =
  public java.time.Month getMonth()
- =
  public int getMonthValue()
- =
  public int getNano()
- =
  public java.time.ZoneOffset getOffset()
- =
  public int getSecond()
- =
  public int getYear()
- =
  public int hashCode()
- =
  public boolean isAfter(java.time.OffsetDateTime arg0)
- =
  public boolean isBefore(java.time.OffsetDateTime arg0)
- =
  public boolean isEqual(java.time.OffsetDateTime arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalField arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalUnit arg0)
- =
  public java.time.OffsetDateTime minus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.OffsetDateTime minus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.OffsetDateTime minusDays(long arg0)
- =
  public java.time.OffsetDateTime minusHours(long arg0)
- =
  public java.time.OffsetDateTime minusMinutes(long arg0)
- =
  public java.time.OffsetDateTime minusMonths(long arg0)
- =
  public java.time.OffsetDateTime minusNanos(long arg0)
- =
  public java.time.OffsetDateTime minusSeconds(long arg0)
- =
  public java.time.OffsetDateTime minusWeeks(long arg0)
- =
  public java.time.OffsetDateTime minusYears(long arg0)
- =
  public static java.time.OffsetDateTime now()
- =
  public static java.time.OffsetDateTime now(java.time.Clock arg0)
- =
  public static java.time.OffsetDateTime now(java.time.ZoneId arg0)
- =
  public static java.time.OffsetDateTime of(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, java.time.ZoneOffset arg7)
- =
  public static java.time.OffsetDateTime of(java.time.LocalDate arg0, java.time.LocalTime arg1, java.time.ZoneOffset arg2)
- =
  public static java.time.OffsetDateTime of(java.time.LocalDateTime arg0, java.time.ZoneOffset arg1)
- =
  public static java.time.OffsetDateTime ofInstant(java.time.Instant arg0, java.time.ZoneId arg1)
- =
  public static java.time.OffsetDateTime parse(java.lang.CharSequence arg0)
- =
  public static java.time.OffsetDateTime parse(java.lang.CharSequence arg0, java.time.format.DateTimeFormatter arg1)
- =
  public java.time.OffsetDateTime plus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.OffsetDateTime plus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.OffsetDateTime plusDays(long arg0)
- =
  public java.time.OffsetDateTime plusHours(long arg0)
- =
  public java.time.OffsetDateTime plusMinutes(long arg0)
- =
  public java.time.OffsetDateTime plusMonths(long arg0)
- =
  public java.time.OffsetDateTime plusNanos(long arg0)
- =
  public java.time.OffsetDateTime plusSeconds(long arg0)
- =
  public java.time.OffsetDateTime plusWeeks(long arg0)
- =
  public java.time.OffsetDateTime plusYears(long arg0)
- =
  public <R> R query(java.time.temporal.TemporalQuery<R> arg0)
- =
  public java.time.temporal.ValueRange range(java.time.temporal.TemporalField arg0)
- =
  public static java.util.Comparator<java.time.OffsetDateTime> timeLineOrder()
- =
  public long toEpochSecond()
- =
  public java.time.Instant toInstant()
- =
  public java.time.LocalDate toLocalDate()
- =
  public java.time.LocalDateTime toLocalDateTime()
- =
  public java.time.LocalTime toLocalTime()
- =
  public java.time.OffsetTime toOffsetTime()
- =
  public java.lang.String toString()
- =
  public java.time.ZonedDateTime toZonedDateTime()
- =
  public java.time.OffsetDateTime truncatedTo(java.time.temporal.TemporalUnit arg0)
- =
  public long until(java.time.temporal.Temporal arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.OffsetDateTime with(java.time.temporal.TemporalAdjuster arg0)
- =
  public java.time.OffsetDateTime with(java.time.temporal.TemporalField arg0, long arg1)
- =
  public java.time.OffsetDateTime withDayOfMonth(int arg0)
- =
  public java.time.OffsetDateTime withDayOfYear(int arg0)
- =
  public java.time.OffsetDateTime withHour(int arg0)
- =
  public java.time.OffsetDateTime withMinute(int arg0)
- =
  public java.time.OffsetDateTime withMonth(int arg0)
- =
  public java.time.OffsetDateTime withNano(int arg0)
- =
  public java.time.OffsetDateTime withOffsetSameInstant(java.time.ZoneOffset arg0)
- =
  public java.time.OffsetDateTime withOffsetSameLocal(java.time.ZoneOffset arg0)
- =
  public java.time.OffsetDateTime withSecond(int arg0)
- =
  public java.time.OffsetDateTime withYear(int arg0)

## Serialized Form

=

### serialVersionUID

=2287754244819255394

### Serialized Fields

- =
  java.time.LocalDateTime dateTime
- =
  java.time.ZoneOffset offset

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.InvalidObjectException
- =
  private java.lang.Object writeReplace()

## Summary

No differences.