GtkSharp/gtk/Calendar.custom

17 lines
403 B
Plaintext
Raw Normal View History

// Gtk.Calendar.Custom - Gtk Calendar class customizations
//
// Author:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (c) 2003 Ximian, Inc. (http://www.ximian.com)
//
// This code is inserted after the automatically generated code.
public DateTime GetDate ()
{
uint year, month, day;
GetDate (out year, out month, out day);
return new DateTime ((int) year, (int) month + 1, (int) day);
}