Time

Represents a time information.

Members

Functions

changeTimezone
void changeTimezone(glong ntz)

Changes time's timezone (for example to convert from GMT to another time zone). If time's current timezone is unset (i.e. equal to gda.types.TIMEZONE_INVALID), then this function simply sets time's timezone attribute; Otherwise, it adds or removes hours, minutes or seconds to reflect the time in the new timezone.

valid
bool valid()

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
copy
void* copy(void* boxed)
free
void free(void* boxed)

Variables

fraction
gulong fraction;

fractionnal part of the seconds, in millionth' of second

hour
ushort hour;

hour representation of the time, as a number between 0 and 23

minute
ushort minute;

minute representation of the time, as a number between 0 and 59

second
ushort second;

second representation of the time, as a number between 0 and 59

timezone
glong timezone;

number of seconds added to the GMT timezone