mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
19 lines
952 B
Python
19 lines
952 B
Python
from datatypes.epc.construction_age_band import EpcConstructionAgeBand
|
|
|
|
parity_map = {
|
|
"Before 1900": EpcConstructionAgeBand.before_1900,
|
|
"1900-1929": EpcConstructionAgeBand.from_1900_to_1929,
|
|
"1930-1949": EpcConstructionAgeBand.from_1930_to_1949,
|
|
"1950-1966": EpcConstructionAgeBand.from_1950_to_1966,
|
|
"1967-1975": EpcConstructionAgeBand.from_1967_to_1975,
|
|
"1976-1982": EpcConstructionAgeBand.from_1976_to_1982,
|
|
"1983-1990": EpcConstructionAgeBand.from_1983_to_1990,
|
|
"1991-1995": EpcConstructionAgeBand.from_1991_to_1995,
|
|
"1996-2002": EpcConstructionAgeBand.from_1996_to_2002,
|
|
"2003-2006": EpcConstructionAgeBand.from_2003_to_2006,
|
|
"2007-2011": EpcConstructionAgeBand.from_2007_to_2011,
|
|
# Newer age bands, under SAP10
|
|
"2012 onwards": EpcConstructionAgeBand.from_2012_to_2022,
|
|
"2012-2022": EpcConstructionAgeBand.from_2012_to_2022,
|
|
"2023 onwards": EpcConstructionAgeBand.from_2023_onwards,
|
|
}
|