API Version: 2.0
Library Version: 2.76
Generated by gi-docgen 2023.2
void g_date_clamp ( GDate* date, const GDate* min_date, const GDate* max_date )
If date is prior to min_date, sets date equal to min_date. If date falls after max_date, sets date equal to max_date. Otherwise, date is unchanged. Either of min_date and max_date may be NULL. All non-NULL dates must be valid.
date
min_date
max_date
NULL
Type: GDate
GDate
Minimum accepted value for date.
Maximum accepted value for date.