org.nuxeo.ecm.platform.relations.api.impl
Class RelationDate
java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.RelationDate
public class RelationDate
- extends java.lang.Object
Relation date management.
- Author:
- Anahide Tchertchian
Field Summary |
static java.text.DateFormat |
ISO_FORMAT
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISO_FORMAT
public static final java.text.DateFormat ISO_FORMAT
getLiteralDate
public static Literal getLiteralDate(java.util.Date date)
- Returns Literal for given date.
getLiteralDate
public static Literal getLiteralDate(java.util.Calendar cal)
- Returns:
- Literal for given Calendar instance
getDate
public static java.util.Date getDate(Literal dateLiteral)
- Returns:
- Date instance for given literal.
getCalendar
public static java.util.Calendar getCalendar(Literal dateLiteral)
- Returns:
- Calendar instance for given literal.
Copyright © 2010 Nuxeo SAS. All Rights Reserved.