GLib.Date.prototype.compare
function compare(rhs: GLib.Date): Number(gint) {
// Gjs wrapper for g_date_compare()
}
qsort()-style comparison function for dates. Both dates must be valid.
- rhs
second date to compare
- Returns
0 for equal, less than zero if lhs is less than rhs, greater than zero if lhs is greater than rhs