OpenTTD Source  20240919-master-gdf0233f4c2
TimerGame< T >::YearMonthDay Struct Reference

Data structure to convert between Date and triplet (year, month, and day). More...

#include <timer_game_common.h>

Data Fields

Year year
 Year (0...)
 
Month month
 Month (0..11)
 
Day day
 Day (1..31)
 

Detailed Description

template<class T>
struct TimerGame< T >::YearMonthDay

Data structure to convert between Date and triplet (year, month, and day).

See also
ConvertDateToYMD(), ConvertYMDToDate()

Definition at line 52 of file timer_game_common.h.


The documentation for this struct was generated from the following file: