Class that handles all date related (calculation) functions.
- 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.
-
Years are zero based; they start with the year 0.
-
Dates can be used to determine the number of days between two different moments in time because they count the number of days since the year 0.
Calendar-Time
Calendar time measures the technological progression in the game.
- The calendar date is shown in the status bar.
- The calendar date affects engine model introduction and expiration.
- Progression of calendar time can be slowed or even halted via game settings.
Calendar time uses the Gregorian calendar with 365 or 366 days per year.
Economy-Time
Economy time measures the in-game time progression, while the game is not paused.
- Cargo production and consumption follows economy time.
- Recurring income and expenses follow economy time.
- Production and income statistics and balances are created per economy month/quarter/year.
Depending on game settings economy time is represented differently:
- Calendar-based timekeeping: Economy- and calendar-time use the identical Gregorian calendar.
- Wallclock-based timekeeping: Economy- and calendar-time are separate. Economy-time will use a 360 day calendar (12 months with 30 days each), which runs at a constant speed of one economy-month per realtime-minute. Calendar-time will use a Gregorian calendar, which can be slowed to stopped via game settings.