Date.this

Like g_date_new(), but also sets the value of the date. Assuming the day-month-year triplet you pass in represents an existing day, the returned date will be valid.

  1. this(GDate* gDate, bool ownedRef)
  2. this()
  3. this(GDateDay day, GDateMonth month, GDateYear year)
  4. this(uint julianDay)

Parameters

day GDateDay

day of the month

month GDateMonth

month of the year

year GDateYear

year

Return: a newly-allocated #GDate initialized with @day, @month, and @year

Throws

ConstructionException GTK+ fails to create the object.

Meta