org.apache.oozie.client.rest
Class JsonUtils

java.lang.Object
  extended by org.apache.oozie.client.rest.JsonUtils

public class JsonUtils
extends Object

Json utils methods.


Constructor Summary
JsonUtils()
           
 
Method Summary
static String formatDateRfc822(Date date)
          Format a Date in RFC822 GMT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonUtils

public JsonUtils()
Method Detail

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.


Copyright © 2012 Apache Software Foundation. All Rights Reserved.