GLib.DateTime.equal

function equal(dt1: void, dt2: void): Boolean {
    // Gjs wrapper for g_date_time_equal()
}
  

Checks to see if dt1 and dt2 are equal.

Equal here means that they represent the same moment after converting them to the same time zone.

Since 2.26

dt1

a GLib.DateTime

dt2

a GLib.DateTime

Returns

true if dt1 and dt2 are equal