GLib.Date.prototype.set_dmy

function set_dmy(day: GLib.DateDay, month: GLib.DateMonth, y: GLib.DateYear): void {
    // Gjs wrapper for g_date_set_dmy()
}
  

Sets the value of a GLib.Date from a day, month, and year. The day-month-year triplet must be valid; if you aren't sure it is, call GLib.date_valid_dmy to check before you set it.

day

day

month

month

y

year