Date.newDmy

Create a new #GDate representing the given day-month-year triplet.

The triplet you pass in must represent a valid date. Use glib.date.Date.validDmy if needed to validate it. The returned #GDate is guaranteed to be non-null and valid.

Parameters

day glib.types.DateDay

day of the month

month glib.types.DateMonth

month of the year

year glib.types.DateYear

year

Return Value

Type: glib.date.Date

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