org.xcmis.restatom
Class AtomUtils
java.lang.Object
org.xcmis.restatom.AtomUtils
public class AtomUtils
- extends Object
- Version:
- $Id: AtomUtils.java 2 2010-02-04 17:21:49Z andrew00x $
- Author:
- Andrey Parfonov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomUtils
public AtomUtils()
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 © 2010 eXo Platform SAS. All Rights Reserved.