Source: addons/calendar_time/game_time/game_calendar/calendar_validator.gd
Syntax
class CalendarValidator extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
time_scale | Property | Handles validation of dates, times, and calendar structure. (invalid-calendar startup safety): the validator is now null-safe, performs eager nested structural validation (malformed years/months/days), deduplicates diagnostics so a broken calendar cannot flood the log every frame, and can resolve a deterministic safe fallback when the supplied structure or time scale is unusable. |
calendar_structure | Property | |
validate_hours_time | Method | |
hours_per_day | Property | |
minutes_per_hour | Property | |
seconds_per_minute | Property | |
no_validation_errors | Property | |
validate | Method | |
issues | Property | |
has_valid_structure | Method | |
issues | Property | |
year_index | Property | |
month_index | Property | |
reset_diagnostics | Method | |
resolve_safe | Method | |
out | Property | |
default_safe_calendar | Method | |
month | Property | |
year | Property | |
default_safe_time_scale | Method | |
scale | Property | |
validate_date | Method | |
game_year | Property | |
validate_date_time | Method | |
valid_date | Property | |
valid_time | Property |