title: Create one file per week
body: <p>I have a java program which is gonna be manually run every day.
  Now I want to create an excel file per wek to write in it all tasks of the week</p>
  
  <p>I know how to create a file every day like this:</p>
  
  <pre><code>if(!IoUtils.fileExist("indicators-" + IoUtils.getCurrentDate() + ".xls")){
      IoUtils.createIndicFile("indicators-" + IoUtils.getCurrentDate() + ".xls");
  }
  else IoUtils.INDIC_FILEPATH = "indicators-" + IoUtils.getCurrentDate() + ".xls";
  </code></pre>
  
  <p>Here is the function which give me the current date in a specific format:</p>
  
  <pre><code>// IoUtils class
  public static String getCurrentDate(){
      LocalDateTime ldt = LocalDateTime.now();
      return DateTimeFormatter.ofPattern("dd-MM-yyyy", Locale.ENGLISH).format(ldt);
  }
  </code></pre>
  
  <p>So how can I change this to only create a file per week ?</p>
  
  <p>I would also like to have the month and the number of the week in the filename like this:</p>
  
  <pre><code>// first monday of january 2018
  name = "indicators-week1-01-2018"
  
  // second monday of january 2018
  name = "indicators-week2-01-2018"
  </code></pre>
  
  <p>Thank you</p>