Gsf.Timestamp – libgsf-1 Reference Manual
Packages
libgsf-1
Gsf
Timestamp
Timestamp
as_string
copy
equal
free
hash
load_from_string
set_time
to_value
date
seconds
time_zone
timet
Timestamp
Object Hierarchy:
Description:
[
CCode
( copy_function =
"g_boxed_copy"
, free_function =
"g_boxed_free"
, type_id =
"gsf_timestamp_get_type ()"
) ]
[
Compact
]
public
class
Timestamp
A point in time.
Namespace:
Gsf
Package:
libgsf-1
Content:
Creation methods:
public
Timestamp
()
Methods:
public
string
as_string
()
Produce a string representation (ISO 8601 format) of
this
.
public
Timestamp
copy
()
Copies a timestamp.
public
bool
equal
(
Timestamp
b)
Compare timestamps
this
and
b
.
public
void
free
()
Releases the memory in use for
this
(if any).
public
uint
hash
()
public
int
load_from_string
(
string
spec)
Parser for time stamps.
public
void
set_time
(
uint64
t)
public
void
to_value
(
Value
value)
Calls g_value_set_box (value, stamp);
Fields:
public
Date
date
public
long
seconds
public
unowned
StringBuilder
time_zone
public
uint32
timet