public class DateUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
RFC_1123_DATE_FORMAT |
Constructor and Description |
---|
DateUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDate(ZonedDateTime dateTime)
Returns an RFC 1123 date format used in HTTP
|
static ZonedDateTime |
parseDate(String dateTime)
Return a
ZonedDateTime parsed from an RFC 1123 compliant string |
public static final String RFC_1123_DATE_FORMAT
public static String formatDate(ZonedDateTime dateTime)
public static ZonedDateTime parseDate(String dateTime)
ZonedDateTime
parsed from an RFC 1123 compliant stringCopyright © 2019 Digipost. All rights reserved.