Class BlogService.RangedDateProperty

  • Enclosing interface:
    BlogService

    public static class BlogService.RangedDateProperty
    extends Object
    A simple data object for expressing a date range search parameter.
    • Constructor Detail

      • RangedDateProperty

        public RangedDateProperty​(Date fromDate,
                                  Date toDate,
                                  QName dateProperty)
        Constructs a ConstrainedDateProperty object.
        Parameters:
        fromDate - the start date for the range (can be null for unbounded lower)
        toDate - the end date for the range (can be null for unbounded upper)
        dateProperty - the Alfresco node property which is to be checked against the range. (must be a valid date or datetime property)
    • Method Detail

      • getFromDate

        public Date getFromDate()
      • getToDate

        public Date getToDate()
      • getDateProperty

        public QName getDateProperty()