org.xcmis.restatom
Class AtomUtils

java.lang.Object
  extended by org.xcmis.restatom.AtomUtils

public class AtomUtils
extends Object

Version:
$Id: AtomUtils.java 2 2010-02-04 17:21:49Z andrew00x $
Author:
Andrey Parfonov

Constructor Summary
AtomUtils()
           
 
Method Summary
static String getAtomDate(Calendar c)
          Gets the atom date.
static Calendar parseCalendar(String date)
          Parses the calendar.
static XMLGregorianCalendar parseXMLCalendar(String date)
          Parses the xml calendar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomUtils

public AtomUtils()
Method Detail

getAtomDate

public static String getAtomDate(Calendar c)
Gets the atom date.

Parameters:
c - the Calendar
Returns:
the atom date

parseCalendar

public static Calendar parseCalendar(String date)
Parses the calendar.

Parameters:
date - the date
Returns:
the calendar

parseXMLCalendar

public static XMLGregorianCalendar parseXMLCalendar(String date)
Parses the xml calendar.

Parameters:
date - the date
Returns:
the xML gregorian calendar


Copyright © 2011 eXo Platform SAS. All Rights Reserved.