- Source:
Methods
(static) getFolderAndFiles(yearStr) → {YearlyStatsFolderAndSpreadsheets}
Returns a reference to the folder object for the current year and its
yearly OHS and Sup/Tech stats spreadsheets. If the folder does not
already exist, a new one will be created and populated with a yearly OHS
stats spreadsheet and a yearly Supervisor/Tech stats spreadsheet.
Parameters:
| Name | Type | Description |
|---|---|---|
yearStr |
string | the current year |
- Source:
Returns:
(static) getYearFolder(yearStr) → {Folder}
Finds or creates then returns a Folder class instance for the current
year's data.
Parameters:
| Name | Type | Description |
|---|---|---|
yearStr |
string | the current year |
- Source:
Returns:
- current year's data folder.
- Type
- Folder
(static) monthlyUpdate(yearlyStatsFile, yearlySupTechFile, codeMoveFile, month, yearMonthStr, yearStr) → {undefined}
Populate yearly stats Spreadsheet's Weekend Days sheet with references to
cells in the year's monthly data sheets.
Parameters:
| Name | Type | Description |
|---|---|---|
yearlyStatsFile |
Object | instance of class File |
yearlySupTechFile |
Object | instance of class File |
codeMoveFile |
Object | instance of class File |
month |
number | 0 to 11 |
yearMonthStr |
string | "Weekend Code Move Count YYYY-MM" format |
yearStr |
string | the current year |
- Source:
Returns:
- Type
- undefined