Class RelationDate

java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.RelationDate

public class RelationDate extends Object
Relation date management.
Author:
Anahide Tchertchian
  • Method Details

    • getDateFormat

      protected static DateFormat getDateFormat()
    • 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.