forked from mirror/OpenTTD
(svn r5918) -Cleanup: rename ConvertDayToYMD/ConvertYMDToDay as they really convert a Date to/from a YearMonthDay.
-Cleanup: swap ConvertDateToYMD's parameters to make the order consistent with the name of the function.
This commit is contained in:
4
date.h
4
date.h
@@ -30,6 +30,6 @@ extern DateFract _date_fract;
|
||||
|
||||
|
||||
void SetDate(Date date);
|
||||
void ConvertDayToYMD(YearMonthDay *ymd, Date date);
|
||||
uint ConvertYMDToDay(Year year, Month month, Day day);
|
||||
void ConvertDateToYMD(Date date, YearMonthDay *ymd);
|
||||
Date ConvertYMDToDate(Year year, Month month, Day day);
|
||||
Date ConvertIntDate(uint date);
|
||||
|
Reference in New Issue
Block a user