class

Godot::Time

Inherits Godot::Object < Reference < Object

Godot Time singleton (Time).

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

get_date_dict_from_system(utc : Bool) : Pointer(Void)
Source
get_date_dict_from_unix_time(unix_time_val : Int64) : Pointer(Void)
Source
get_date_string_from_system(utc : Bool) : String
Source
get_date_string_from_unix_time(unix_time_val : Int64) : String
Source
get_datetime_dict_from_datetime_string(datetime : String, weekday : Bool) : Pointer(Void)
Source
get_datetime_dict_from_system(utc : Bool) : Pointer(Void)
Source
get_datetime_dict_from_unix_time(unix_time_val : Int64) : Pointer(Void)
Source
get_datetime_string_from_datetime_dict(datetime : Pointer(Void), use_space : Bool) : String
Source
get_datetime_string_from_system(utc : Bool, use_space : Bool) : String
Source
get_datetime_string_from_unix_time(unix_time_val : Int64, use_space : Bool) : String
Source
get_offset_string_from_offset_minutes(offset_minutes : Int64) : String
Source
get_ticks_msec
Source
get_ticks_usec
Source
get_time_dict_from_system(utc : Bool) : Pointer(Void)
Source
get_time_dict_from_unix_time(unix_time_val : Int64) : Pointer(Void)
Source
get_time_string_from_system(utc : Bool) : String
Source
get_time_string_from_unix_time(unix_time_val : Int64) : String
Source
get_time_zone_from_system
Source
get_unix_time_from_datetime_dict(datetime : Pointer(Void)) : Int64
Source
get_unix_time_from_datetime_string(datetime : String) : Int64
Source
get_unix_time_from_system
Source

Nested types