Returns all the cp attachment file entries where displayDate &lt; &#63; and status = &#63;.

@param displayDate the display date
@param status the status
@return the matching cp attachment file entries
330420
public static List<CPAttachmentFileEntry> findByLtD_S(Date displayDate,
		int status) {
		return getPersistence().findByLtD_S(displayDate, status);
	}
1181223
private List<Date> getListOfMarkerDateBetWeenTwoDates(final Date startDate, final Date endDate) {

			final List<Date> listOfMarkerDate = new LinkedList<>();

			final Calendar startDateAsCal = toGregorianCalendar(startDate);
			final Calendar endDateAsCal = toGregorianCalendar(endDate);

			while (startDateAsCal.before(endDateAsCal)) {
				listOfMarkerDate.add(getMarkerDateOfMonth(startDateAsCal.getTime()));
				startDateAsCal.add(Calendar.MONTH, 1);
			}

			return listOfMarkerDate;
        }
763269
@Override
	public List<CPDefinition> findByC_S(long CProductId, int status) {
		return findByC_S(CProductId, status, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
921027
@Override
	public List<CPDisplayLayout> findAll() {
		return findAll(QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
972947
@View(name = "by_principal_date",
        map = "function(doc) { if (doc.recordKey && doc.principal && doc.deviceFingerprint && doc.recordDate) { emit([doc.principal, doc.recordDate], doc) } }")
    public List<CouchDbMultifactorAuthenticationTrustRecord> findByPrincipalAfterDate(final String principal, final LocalDateTime onOrAfterDate) {
        val view = createQuery("by_principal_date")
            .startKey(ComplexKey.of(principal, onOrAfterDate)).endKey(ComplexKey.of(principal, "999999"));

        return db.queryView(view, CouchDbMultifactorAuthenticationTrustRecord.class);
    }
816959
protected static Date getTime(final Date referenceDate, final Calendar cal) {
        final Date zonedDate = new DateTime(referenceDate);
        zonedDate.setTime(cal.getTime().getTime());
        return zonedDate;
    }
13374
public List<CouchDbMultifactorAuthenticationTrustRecord> findOnOrAfterDate(final LocalDateTime onOrAfterDate) {
        return db.queryView(createQuery("by_recordDate").startKey(onOrAfterDate), CouchDbMultifactorAuthenticationTrustRecord.class);
    }
547683
public static Date getDateWithPrevDays(int noOfDays) throws ParseException {
        Calendar currentDate = Calendar.getInstance();
        currentDate.add(Calendar.DATE, -noOfDays);
        SimpleDateFormat formatter = new SimpleDateFormat(DATE_yyyyMMddTHHmmssSSSZ);
        String dateNow = formatter.format(currentDate.getTime());
        return getDateFromString(dateNow);
    }
272881
private long getParsedDate(String encodedDate) {
		try {
			return dateFormat.parse(dateFormat.format(dateFormat.parseObject(encodedDate.replaceAll("Z$", "+0000")))).getTime();
		}
		catch (ParseException e) {
			log(TAG, "Error parsing date " + encodedDate, Log.WARN);
			e.printStackTrace();
			return 0;
		}
	}
1205072
public Date getFinishDate()
   {
      Date result = (Date) getCachedValue(ProjectField.FINISH_DATE);
      if (result == null)
      {
         result = getParentFile().getFinishDate();
      }
      return (result);
   }
486265
@Override
	public List<CPInstance> findByLtD_S(Date displayDate, int status) {
		return findByLtD_S(displayDate, status, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
342030
@Override
	public List<CommerceNotificationQueueEntry> findByLtS(Date sentDate) {
		return findByLtS(sentDate, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
252413
public OvhHistoryRepaymentConsumption billingAccount_historyRepaymentConsumption_date_GET(String billingAccount, java.util.Date date) throws IOException {
		String qPath = "/telephony/{billingAccount}/historyRepaymentConsumption/{date}";
		StringBuilder sb = path(qPath, billingAccount, date);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, OvhHistoryRepaymentConsumption.class);
	}
1202753
public TaskGetOptions withOcpDate(DateTime ocpDate) {
        if (ocpDate == null) {
            this.ocpDate = null;
        } else {
            this.ocpDate = new DateTimeRfc1123(ocpDate);
        }
        return this;
    }
852
public Date getStartDate()
   {
      Date result = (Date) getCachedValue(ProjectField.START_DATE);
      if (result == null)
      {
         result = getParentFile().getStartDate();
      }
      return (result);
   }
745128
public I_CmsListDateRestriction parse(CmsXmlContentValueLocation dateRestriction) {

        I_CmsListDateRestriction result = null;
        result = parseRange(dateRestriction);
        if (result != null) {
            return result;
        }
        result = parseFromToday(dateRestriction);
        if (result != null) {
            return result;
        }
        result = parsePastFuture(dateRestriction);
        return result;
    }
321411
private void parseAmbiguousDatesAsAfter(Date startDate) {
        defaultCenturyStart = startDate;
        calendar.setTime(startDate);
        defaultCenturyStartYear = calendar.get(Calendar.YEAR);
    }