Method

GLibDateorder

Declaration [src]

void
g_date_order (
  GDate* date1,
  GDate* date2
)

Description [src]

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 method.