public class OffsetDateTime
extends java.lang.Object
| Constructor and Description |
|---|
OffsetDateTime(java.time.OffsetDateTime offsetDateTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
boolean |
isAfter(OffsetDateTime time) |
boolean |
isBefore(OffsetDateTime time) |
OffsetDateTime |
minus(Duration d) |
OffsetDateTime |
minusMinutes(long l) |
OffsetDateTime |
minusSeconds(long l) |
static OffsetDateTime |
now() |
static OffsetDateTime |
now(Clock systemUTC) |
static OffsetDateTime |
ofEpochSecond(long l) |
OffsetDateTime |
plus(Duration d) |
OffsetDateTime |
plusDays(long l) |
OffsetDateTime |
plusMinutes(long l) |
OffsetDateTime |
plusSeconds(int l) |
java.time.OffsetDateTime |
raw() |
long |
toEpochSecond() |
java.lang.String |
toString() |
OffsetDateTime |
truncatedTo(ChronoUnit seconds) |
public java.time.OffsetDateTime raw()
public static OffsetDateTime now()
public static OffsetDateTime now(Clock systemUTC)
public OffsetDateTime truncatedTo(ChronoUnit seconds)
public OffsetDateTime plus(Duration d)
public OffsetDateTime minus(Duration d)
public boolean isBefore(OffsetDateTime time)
public boolean isAfter(OffsetDateTime time)
public OffsetDateTime plusSeconds(int l)
public OffsetDateTime minusSeconds(long l)
public OffsetDateTime plusMinutes(long l)
public OffsetDateTime minusMinutes(long l)
public long toEpochSecond()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static OffsetDateTime ofEpochSecond(long l)
public OffsetDateTime plusDays(long l)