GLib.Date.prototype.clear
function clear(n_dates: Number(guint)): void { // Gjs wrapper for g_date_clear() }
Initializes one or more GLib.Date structs to a sane but invalid state. The cleared dates will not represent an existing date, but will not contain garbage. Useful to init a date declared on the stack. Validity can be tested with GLib.Date.prototype.valid.
- n_dates
number of dates to clear