Gda.Time – Gda-6.0 – Vala Binding Reference

Gda.Time – Gda-6.0 Reference Manual

# Time

## Object Hierarchy:

## Description:

[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gda_time_get_type ()" ) ]
[ Compact ]
public class Time
Namespace: Gda
Package: Gda-6.0

## Content:

### Creation methods:

- public Time ()
- public Time.from_date_time (DateTime dt)
- public Time.from_values (ushort hour, ushort minute, ushort second, ulong fraction, long timezone)

### Methods:

- public Time copy ()
- public void free ()
- public ulong get_fraction ()
- public ushort get_hour ()
- public ushort get_minute ()
- public ushort get_second ()
- public long get_timezone ()
- public TimeZone get_tz ()
- public void set_fraction (ulong fraction)
- public void set_hour (ushort hour)
- public void set_minute (ushort minute)
- public void set_second (ushort second)
- public void set_timezone (long timezone)
- public string to_string ()
- public string to_string_local ()
- public string to_string_utc ()
- public Time to_timezone (TimeZone ntz)
- public Time to_utc ()
- public bool valid ()