Package eu.balticdiversity.search.models

Examples of eu.balticdiversity.search.models.Query$Time


    }

    public void setNotAfter(
        Date    date)
    {
        tbsGen.setEndDate(new Time(date));
    }
View Full Code Here


    }

    public void setNotBefore(
        Date    date)
    {
        tbsGen.setStartDate(new Time(date));
    }
View Full Code Here

    }

    public void setNotAfter(
        Date    date)
    {
        tbsGen.setEndDate(new Time(date));
    }
View Full Code Here

  public Date getRequestValidityNotBefore() {
    Date ret = null;
    final CertTemplate templ = getReq().getCertReq().getCertTemplate();
    final OptionalValidity val = templ.getValidity();
    if (val != null) {
      final Time time = val.getNotBefore();
      if (time != null) {
        ret = time.getDate();
      }
    }
    if (log.isDebugEnabled()) {
      log.debug("Request validity notBefore is: "+(ret == null ? "null" : ret.toString()));
    }
View Full Code Here

  public Date getRequestValidityNotAfter() {
    Date ret = null;
    final CertTemplate templ = getReq().getCertReq().getCertTemplate();
    final OptionalValidity val = templ.getValidity();
    if (val != null) {
      Time time = val.getNotAfter();
      if (time != null) {
        ret = time.getDate();
      }
    }
    if (log.isDebugEnabled()) {
      log.debug("Request validity notAfter is: "+(ret == null ? "null" : ret.toString()));
    }
View Full Code Here

    }

    public void setNotBefore(
        Date    date)
    {
        tbsGen.setStartDate(new Time(date));
    }
View Full Code Here

    }

    public void setNotAfter(
        Date    date)
    {
        tbsGen.setEndDate(new Time(date));
    }
View Full Code Here

    }

    public void setNotBefore(
        Date    date)
    {
        tbsGen.setStartDate(new Time(date));
    }
View Full Code Here

    }

    public void setNotAfter(
        Date    date)
    {
        tbsGen.setEndDate(new Time(date));
    }
View Full Code Here

    }

    public void setThisUpdate(
        Date    date)
    {
        tbsGen.setThisUpdate(new Time(date));
    }
View Full Code Here

TOP

Related Classes of eu.balticdiversity.search.models.Query$Time

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.