Package pt.opensoft.util

Examples of pt.opensoft.util.Date.format()


  public synchronized void open () {
    if (writer != null) return;
    Date now = new Date();
    day = now.getDay();
    try {
      writer = new PrintWriter(new OutputStreamWriter(new FileOutputStream(filename + "-" + now.format()
        + ".log", true), SystemParameters.DEFAULT_ENCODING), true);
    } catch (IOException e) {
      throw new LogException(e);
    }
  }
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.