GLib.Date.prototype.to_struct_tm

function to_struct_tm(tm: void): void {
    // Gjs wrapper for g_date_to_struct_tm()
}
  

Fills in the date-related bits of a struct tm using the date value. Initializes the non-date parts with something sane but meaningless.

tm

struct tm to fill