/* Returns: TRUE if the date is the first of the month  */
gboolean g_date_is_first_of_month(const GDate *d)
/* Returns: TRUE if the date is the first of the month  */
gboolean g_date_is_first_of_month(const GDate *d)
{
  g_return_val_if_fail (g_date_valid (d), FALSE);
  if (!d->dmy) 
    g_date_update_dmy (d);
  g_return_val_if_fail (d->dmy, FALSE);  
  if (d->day == 1) return TRUE;
  else return FALSE;
}