Method

GLibDateorder

Declaration

void
g_date_order (
  GDate* date1,
  GDate* date2
)

Description

Checks if date1 is less than or equal to date2, and swap the values if this is not the case.

Parameters

date2

Type: GDate

The second date.

The data is owned by the caller of the function.