Package br.net.woodstock.rockframework.core.util

Examples of br.net.woodstock.rockframework.core.util.DateBuilder


    if (this.serialNumber == null) {
      this.serialNumber = BigInteger.valueOf(this.time);
    }

    if (this.notBefore == null) {
      DateBuilder dateBuilder = new DateBuilder(this.time);
      dateBuilder.remove(DateField.DAY_OF_MONTH, 1);
      this.notBefore = dateBuilder.build();
    }

    if (this.notAfter == null) {
      DateBuilder dateBuilder = new DateBuilder(this.time);
      dateBuilder.add(DateField.YEAR, 1);
      this.notAfter = dateBuilder.build();
    }

    if (this.provider == null) {
      this.provider = BouncyCastleProviderHelper.PROVIDER_NAME;
    }
View Full Code Here


    if (this.number == null) {
      this.number = BigInteger.ONE;
    }

    if (this.nextUpdate == null) {
      DateBuilder builder = new DateBuilder();
      builder.add(DateField.DAY_OF_MONTH, 1);
      this.nextUpdate = builder.build();
    }
  }
View Full Code Here

TOP

Related Classes of br.net.woodstock.rockframework.core.util.DateBuilder

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.