Script: Add method to get day length factor

This commit is contained in:
Jonathan G Rennison
2020-07-01 17:29:18 +01:00
parent efaf935cbf
commit 501f7458db
4 changed files with 23 additions and 13 deletions

View File

@@ -50,6 +50,8 @@ public:
*/
static Date GetCurrentDate();
static int32 GetDayLengthFactor();
/**
* Get the year of the given date.
* @param date The date to get the year of.