public final class DateTimeRfc1123
extends java.lang.Object
| Constructor and Description |
|---|
DateTimeRfc1123(org.threeten.bp.OffsetDateTime dateTime)
Creates a new DateTimeRfc1123 object with the specified DateTime.
|
DateTimeRfc1123(java.lang.String formattedString)
Creates a new DateTimeRfc1123 object with the specified DateTime.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.threeten.bp.OffsetDateTime |
getDateTime()
Returns the underlying DateTime.
|
int |
hashCode() |
java.lang.String |
toString() |
public DateTimeRfc1123(org.threeten.bp.OffsetDateTime dateTime)
dateTime - The DateTime object to wrap.public DateTimeRfc1123(java.lang.String formattedString)
formattedString - The datetime string in RFC1123 formatpublic org.threeten.bp.OffsetDateTime getDateTime()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object