Package com.microsoft.rest
Class DateTimeRfc1123
- java.lang.Object
-
- com.microsoft.rest.DateTimeRfc1123
-
public final class DateTimeRfc1123 extends Object
Simple wrapper over joda.time.DateTime used for specifying RFC1123 format during serialization/deserialization.
-
-
Constructor Summary
Constructors Constructor Description DateTimeRfc1123(String formattedString)Creates a new DateTimeRfc1123 object with the specified DateTime.DateTimeRfc1123(org.joda.time.DateTime dateTime)Creates a new DateTimeRfc1123 object with the specified DateTime.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimedateTime()Returns the underlying DateTime.booleanequals(Object obj)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DateTimeRfc1123
public DateTimeRfc1123(org.joda.time.DateTime dateTime)
Creates a new DateTimeRfc1123 object with the specified DateTime.- Parameters:
dateTime- The DateTime object to wrap.
-
DateTimeRfc1123
public DateTimeRfc1123(String formattedString)
Creates a new DateTimeRfc1123 object with the specified DateTime.- Parameters:
formattedString- The datetime string in RFC1123 format
-
-