Constructor and Description |
---|
JsonUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
formatDateRfc822(Date date)
Format a Date in RFC822 GMT.
|
static String |
formatDateRfc822(Date date,
String timeZoneId)
Format a Date in RFC822 with the given time zone.
|
public JsonUtils()
public static String formatDateRfc822(Date date, String timeZoneId)
date
- date to format.timeZoneId
- the time zone to usepublic static String formatDateRfc822(Date date)
date
- date to format.Copyright © 2018 Apache Software Foundation. All rights reserved.