|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.chemistry.opencmis.server.support.query.CalendarHelper
public class CalendarHelper
Helper dealing with conversion of Calendar to and from the string
format specified by CMISQL.
| Method Summary | |
|---|---|
static GregorianCalendar |
fromString(String datetime)
Converts a CMISQL date string representation to a GregorianCalendar. |
static String |
toString(Calendar cal)
Converts a Calendar to its CMISQL string representation. |
static void |
toString(Calendar cal,
StringBuilder buf)
Converts a Calendar to its CMISQL string representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static GregorianCalendar fromString(String datetime)
GregorianCalendar.
Parses YYYY-HH-MMThh:mm:ss.sss+hh:mm, or a Z for the
timezone, and with .sss being optional.
datetime - the string representation in CMISQL format
public static String toString(Calendar cal)
cal - a Calendar
public static void toString(Calendar cal,
StringBuilder buf)
cal - a Calendarbuf - a buffer in which to add the CMISQL string representation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||