newDmy

fun newDmy(day: <Error class: unknown class>, month: DateMonth, year: <Error class: unknown class>): Date

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

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

Return

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

Parameters

day

day of the month

month

month of the year

year

year