Tax years basic info
- Source:
- Since:
- 0.1.0
Methods
(inner) createTaxYears(start_year, cnt_years) → {array}
- Source:
Create a designated number of tax years with year info
Parameters:
Name | Type | Description |
---|---|---|
start_year |
number | Start year in XX format, e.g. 19 not 2019 |
cnt_years |
number | Number of years |
Returns:
Array of basic tax years with just date info
- Type
- array
(inner) describeTaxYear(months_occupied, year_slash) → {string}
- Source:
Generates a human-friendly sentence describing the tax year
Parameters:
Name | Type | Description |
---|---|---|
months_occupied |
number | Number of months the tax year covers |
year_slash |
string | e.g 20/21 |
Returns:
Nice text
- Type
- string