|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oozie.client.rest.JsonUtils
public class JsonUtils
Json utils methods.
Constructor Summary | |
---|---|
JsonUtils()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JsonUtils()
Method Detail |
---|
public static String formatDateRfc822(Date date, String timeZoneId)
date
- date to format.timeZoneId
- the time zone to use
null
if the date was null.
formatDateRfc822
public static String formatDateRfc822(Date date)
- Format a Date in RFC822 GMT.
- Parameters:
date
- date to format.
- Returns:
- RFC822 GMT for the date,
null
if the date was null.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2014 Apache Software Foundation. All Rights Reserved.