Codechange: Use proper date types in various places (#11177)

This commit is contained in:
Tyler Trahan
2023-08-11 09:32:42 -04:00
committed by GitHub
parent c9c9cfa4fd
commit c7b51a8c3a
7 changed files with 12 additions and 11 deletions

View File

@@ -14,8 +14,9 @@
#include "string_func.h"
#include "strings_type.h"
static const int CF_NOEURO = 0; ///< Currency never switches to the Euro (as far as known).
static const int CF_ISEURO = 1; ///< Currency _is_ the Euro.
static constexpr TimerGameCalendar::Year CF_NOEURO = 0; ///< Currency never switches to the Euro (as far as known).
static constexpr TimerGameCalendar::Year CF_ISEURO = 1; ///< Currency _is_ the Euro.
static constexpr TimerGameCalendar::Year MIN_EURO_YEAR = 2000; ///< The earliest year custom currencies may switch to the Euro.
/**
* This enum gives the currencies a unique id which must be maintained for