Date.copy

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

class Date
copy
()

Return Value

Type: glib.date.Date

a newly-allocated #GDate initialized from date