{ "header": "SDL_time.h", "opaque_types": [], "typedefs": [], "function_pointers": [], "enums": [ { "name": "SDL_DateFormat", "values": [] }, { "name": "SDL_TimeFormat", "values": [] } ], "structs": [ { "name": "SDL_DateTime", "fields": [ { "name": "year", "type": "int", "comment": "Year" }, { "name": "month", "type": "int", "comment": "Month [01-12]" }, { "name": "day", "type": "int", "comment": "Day of the month [01-31]" }, { "name": "hour", "type": "int", "comment": "Hour [0-23]" }, { "name": "minute", "type": "int", "comment": "Minute [0-59]" }, { "name": "second", "type": "int", "comment": "Seconds [0-60]" }, { "name": "nanosecond", "type": "int", "comment": "Nanoseconds [0-999999999]" }, { "name": "day_of_week", "type": "int", "comment": "Day of the week [0-6] (0 being Sunday)" }, { "name": "utc_offset", "type": "int", "comment": "Seconds east of UTC" } ] } ], "unions": [], "flags": [], "functions": [ { "name": "SDL_GetDateTimeLocalePreferences", "return_type": "bool", "parameters": [ { "name": "dateFormat", "type": "SDL_DateFormat *" }, { "name": "timeFormat", "type": "SDL_TimeFormat *" } ] }, { "name": "SDL_GetCurrentTime", "return_type": "bool", "parameters": [ { "name": "ticks", "type": "SDL_Time *" } ] }, { "name": "SDL_TimeToDateTime", "return_type": "bool", "parameters": [ { "name": "ticks", "type": "SDL_Time" }, { "name": "dt", "type": "SDL_DateTime *" }, { "name": "localTime", "type": "bool" } ] }, { "name": "SDL_DateTimeToTime", "return_type": "bool", "parameters": [ { "name": "dt", "type": "const SDL_DateTime *" }, { "name": "ticks", "type": "SDL_Time *" } ] }, { "name": "SDL_TimeToWindows", "return_type": "void", "parameters": [ { "name": "ticks", "type": "SDL_Time" }, { "name": "dwLowDateTime", "type": "Uint32 *" }, { "name": "dwHighDateTime", "type": "Uint32 *" } ] }, { "name": "SDL_TimeFromWindows", "return_type": "SDL_Time", "parameters": [ { "name": "dwLowDateTime", "type": "Uint32" }, { "name": "dwHighDateTime", "type": "Uint32" } ] }, { "name": "SDL_GetDaysInMonth", "return_type": "int", "parameters": [ { "name": "year", "type": "int" }, { "name": "month", "type": "int" } ] }, { "name": "SDL_GetDayOfYear", "return_type": "int", "parameters": [ { "name": "year", "type": "int" }, { "name": "month", "type": "int" }, { "name": "day", "type": "int" } ] }, { "name": "SDL_GetDayOfWeek", "return_type": "int", "parameters": [ { "name": "year", "type": "int" }, { "name": "month", "type": "int" }, { "name": "day", "type": "int" } ] } ] }