title: How do you add one to another integer when it satisfies an if statement?
body: <p>I want my code to document thes a day of the month like the 1st of each month and then put it into a integer for the day of the week the 1st of the month was on.</p>
  <p>Eg.</p>
  <p>Wednesday is the first of the month in July, so Wednesday would have + 1 for the number of times it was the first of the month.</p>
  <p>Monday : 0
  Tuesday : 0
  Wednesday : 1</p>
  <p>but i cant figure out how i would code that in java.</p>