W Wrapl, The Programming Language

Libraries:Gtk:Glib:GTimeVal

Types

T

Constants

Nil : T

Functions

FromIso8601(iso_date @ Std.String.T, time_ @ Gtk.Glib.GTimeVal.T) : Std.Symbol.T

Converts a string containing an ISO 8601 encoded date and time to a T and puts it into time_.

iso_date an ISO 8601 encoded date string
time_ a T. [out]
Returns TRUE if the conversion was successful.


_Alloc() : Gtk.Glib.GTimeVal.T



Methods

:"="(_ @ T, _ @ T)

:Add(self @ T, microseconds @ Std.Integer.SmallT) : Std.Object.T

Adds the given number of microseconds to time_. microseconds can also be negative to decrease the value of time_.

time_ a T
microseconds number of microseconds to add to time


:ToIso8601(self @ T) : Std.String.T

Converts time_ into an ISO 8601 encoded string, relative to the Coordinated Universal Time (UTC).

time_ a T
Returns a newly allocated string containing an ISO 8601 date


:TvSec(self @ T) : Std.Integer.SmallT

:TvUsec(self @ T) : Std.Integer.SmallT

:setTvSec(self @ T, value @ Std.Integer.SmallT) : Std.Integer.SmallT

:setTvUsec(self @ T, value @ Std.Integer.SmallT) : Std.Integer.SmallT

:"~="(_ @ T, _ @ T)