public final class DateTimeRfc1123 extends Object
| Constructor and Description |
|---|
DateTimeRfc1123(org.joda.time.DateTime dateTime)
Creates a new DateTimeRfc1123 object with the specified DateTime.
|
DateTimeRfc1123(String formattedString)
Creates a new DateTimeRfc1123 object with the specified DateTime.
|
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
dateTime()
Returns the underlying DateTime.
|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
public DateTimeRfc1123(org.joda.time.DateTime dateTime)
dateTime - The DateTime object to wrap.public DateTimeRfc1123(String formattedString)
formattedString - The datetime string in RFC1123 format/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/