/* Returns: a newly-allocated #GDate initialized with @day, @month, and @year  */
GDate* g_date_new_dmy(GDateDay day, GDateMonth m, GDateYear y)
/* Returns: a newly-allocated #GDate initialized with @day, @month, and @year  */
GDate* g_date_new_dmy(GDateDay day, GDateMonth m, GDateYear y)
{
  GDate *d;
  g_return_val_if_fail (g_date_valid_dmy (day, m, y), NULL);
  d = g_new (GDate, 1);
  d->julian = FALSE;
  d->dmy    = TRUE;
  d->month = m;
  d->day   = day;
  d->year  = y;
  g_assert (g_date_valid (d));
  return d;
}