Package winterwell.utils.time

Examples of winterwell.utils.time.Time.plus()


    this.rotationInterval = interval;
    this.rotationHistory = history;
    // FIXME how do we get the file created time?
    Time created = file.exists() ? new Time(file.lastModified())
        : new Time();
    nextRotation = created.plus(interval);
  }

  @Override
  public String toString() {
    return "LogFile:" + file.getAbsolutePath();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.