* OpenTTD 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, version 2.
* OpenTTD 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 OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file script_date.hpp Everything to query and manipulate date related information. */
#ifndef SCRIPT_DATE_HPP
#define SCRIPT_DATE_HPP
#include "script_object.hpp"
#include "timer/timer_game_calendar.h"
#include "../../timer/timer_game_calendar.h"
/**
* Class that handles all date related (calculation) functions.
* @api ai game
*
* @note Months and days of month are 1-based; the first month of the
* year is 1 and the first day of the month is also 1.
* @note Years are zero based; they start with the year 0.
* @note Dates can be used to determine the number of days between
* two different moments in time because they count the number