/* Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR This file is part of simcaq-node. simcaq-node is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. simcaq-node is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. */ module.exports = function ageRangeAggregate(id) { switch (id) { case 1: return '0 a 3 anos'; case 2: return '4 a 5 anos'; case 3: return '6 a 10 anos'; case 4: return '11 a 14 anos'; case 5: return '15 a 17 anos'; case 6: return '18 anos ou mais'; default: return 'Não declarada'; } };