Represents day, month, and year for gameplay needs. Serialization contract (Calendar Time 2.0): save/load uses property names [member day], [member month], [member year] via [method to_dict] / [method from_dict]. Payloads never store [code]class_name[/code] strings. Renaming properties requires a migration (see MIGRATION.md § serialization keys).
Source: addons/calendar_time/game_time/time_units/game_date.gd
Syntax
class GameDate extends ResourceMembers
| Name | Kind | Summary |
|---|---|---|
day | Property | The one-based day of the month. |
month | Property | The one-based month of the year. |
year | Property | The year number for the given date |
is_same_date | Method | |
get_days_count | Method | |
is_valid_date | Method | |
to_dict | Method | |
from_dict | Method | |
as_formatted | Method |