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 String getAtomDate(Date d)
          Gets the atom date.
static Calendar parseCalendar(String date)
          Parses the 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

getAtomDate

public static String getAtomDate(Date d)
Gets the atom date.

Parameters:
d - the Date
Returns:
the atom date

parseCalendar

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

Parameters:
date - the date
Returns:
the calendar


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.