using GLib;

public class Timer : Object {

    public Time TimeTM {get; construct;}
    
    public Timer (int year, int month, int day, int hour, int minute) {
        this.TimeTM = this.create_time (year, month, day, hour, minute);
    }
    
    private Time create_time (int year, int month, int day, int hour, int minute) {
        var t = Time ();
        
        t.year = year - 1900;
        t.month = month - 1;
        t.day = day;
        t.hour = hour;
        t.minute = minute;
        
        return t;
    }
    
    public static void main (string[] args) {
        var t = new Timer (2008, 5, 25, 14, 30);
    }

}
