Function

Birbdate_time_compare

since: 0.2

Declaration [src]

gint
birb_date_time_compare (
  GDateTime* dt1,
  GDateTime* dt2
)

Description [src]

Compare two GDateTime objects.

Available since: 0.2

Parameters

dt1

Type: GDateTime

The pointer to the first GDateTime to compare.

The argument can be NULL.
The data is owned by the caller of the function.
dt2

Type: GDateTime

The pointer to the second GDateTime to compare.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gint

-1, 0 or 1 if dt1 is less than, equal to or greater than dt2.