Method

GLibDateTimeequal

Declaration

gboolean
g_date_time_equal (
  gconstpointer dt1,
  gconstpointer dt2
)

Description

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.

Available since:2.26

Parameters

dt2 GDateTime
 

A GDateTime.

Return value

Returns: gboolean
 

TRUE if dt1 and dt2 are equal.