Skip to content

Commit d9c89db

Browse files
author
Sarah Akinkunmi
committed
update
1 parent 0a468fc commit d9c89db

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package chapter10.payrollsystem;public class PieceWorker {
2+
}

src/chapter8/Date.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@ public void setYear(int year) {
8080
@Override
8181
public String toString() {
8282
return String.format(
83-
"%02d/%02d/%d%n%s %02d, %d%n%d %d",
83+
"%02d/%02d/%d%n%s %02d, %d",
8484
month, day, year,
85-
this.MONTHS[month - 1], day, year,
86-
dayNumberInYear, year);
85+
this.MONTHS[month - 1], day, year);
8786
}
8887
}

0 commit comments

Comments
 (0)