copy

fun copy(): Date

Copies a GDate to a newly-allocated GDate. If the input was invalid (as determined by g_date_valid()), the invalid state will be copied as is into the new object.

Return

a newly-allocated #GDate initialized from @date

Since

2.56