Top | ![]() |
![]() |
![]() |
![]() |
BeagleTimestamp *
beagle_timestamp_new_from_string (const char *str
);
Creates a newly allocated BeagleTimestamp from the given string. The string should be of the following format, "20050623100511" and represents a timestamp in UTC.
BeagleTimestamp *
beagle_timestamp_new_from_unix_time (time_t time
);
Creates a newly allocated BeagleTimestamp from time
.
void
beagle_timestamp_free (BeagleTimestamp *timestamp
);
Frees the memory allocated by the given BeagleTimestamp.
gboolean beagle_timestamp_to_unix_time (BeagleTimestamp *timestamp
,time_t *time
);
Converts the given BeagleTimestamp to a unix time_t.