org.nuxeo.ecm.platform.relations.api.impl
Class RelationDate
java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.RelationDate
public class RelationDate
- extends Object
Relation date management.
- Author:
- Anahide Tchertchian
ISO_FORMAT
public static final DateFormat ISO_FORMAT
getLiteralDate
public static Literal getLiteralDate(Date date)
- Returns Literal for given date.
getLiteralDate
public static Literal getLiteralDate(Calendar cal)
- Returns:
- Literal for given Calendar instance
getDate
public static Date getDate(Literal dateLiteral)
- Returns:
- Date instance for given literal.
getCalendar
public static Calendar getCalendar(Literal dateLiteral)
- Returns:
- Calendar instance for given literal.
Copyright © 2011 Nuxeo SAS. All Rights Reserved.