|
@@ -61,6 +61,7 @@ class Arrangement {
|
|
public workdays: Record<string, string> = {};
|
|
public workdays: Record<string, string> = {};
|
|
public inLieuDays: Record<string, string> = {};
|
|
public inLieuDays: Record<string, string> = {};
|
|
|
|
|
|
|
|
+ /** year at */
|
|
y(year: number) {
|
|
y(year: number) {
|
|
this.dayDetails.year = year;
|
|
this.dayDetails.year = year;
|
|
return this;
|
|
return this;
|
|
@@ -84,7 +85,6 @@ class Arrangement {
|
|
|
|
|
|
mark(holiday: Holiday) {
|
|
mark(holiday: Holiday) {
|
|
this.dayDetails.holiday = holiday;
|
|
this.dayDetails.holiday = holiday;
|
|
- // No functional change, just removing comment blocks per instruction
|
|
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -148,12 +148,15 @@ class Arrangement {
|
|
return this;
|
|
return this;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /** work day */
|
|
w(month: number, day: number) {
|
|
w(month: number, day: number) {
|
|
return this.save(month, day, DayType.Workday);
|
|
return this.save(month, day, DayType.Workday);
|
|
}
|
|
}
|
|
|
|
+ /** rest */
|
|
r(month: number, day: number) {
|
|
r(month: number, day: number) {
|
|
return this.save(month, day, DayType.Holiday);
|
|
return this.save(month, day, DayType.Holiday);
|
|
}
|
|
}
|
|
|
|
+ /** in-lieu */
|
|
i(month: number, day: number) {
|
|
i(month: number, day: number) {
|
|
return this.save(month, day, DayType.InLieu);
|
|
return this.save(month, day, DayType.InLieu);
|
|
}
|
|
}
|