#include "timeutils/unixtime.h"#include "timeutils/wallclocktime.h"#include "timeutils/cache.h"#include "timeutils/names.h"#include "timeutils/misc.h"#include <stdlib.h>
Functions | |
| void | unix_time_unset (UnixTime *self) |
| void | unix_time_set_now (UnixTime *self) |
| void | unix_time_fix_timezone (UnixTime *self, gint new_gmtoff) |
| void | unix_time_set_timezone (UnixTime *self, gint new_gmtoff) |
| void | unix_time_set_timezone_with_tzinfo (UnixTime *self, TimeZoneInfo *tzinfo) |
| gboolean | unix_time_fix_timezone_assuming_the_time_matches_real_time (UnixTime *self) |
| void | unix_time_fix_timezone_with_tzinfo (UnixTime *self, TimeZoneInfo *tzinfo) |
| gboolean | unix_time_eq (const UnixTime *a, const UnixTime *b) |
| gint64 | unix_time_diff_in_seconds (const UnixTime *a, const UnixTime *b) |
| gint64 | unix_time_diff_in_msec (const UnixTime *a, const UnixTime *b) |
| struct timeval | timeval_from_unix_time (UnixTime *ut) |
| UnixTime | unix_time_from_unix_epoch (guint64 unix_epoch) |
| guint64 | unix_time_to_unix_epoch (const UnixTime ut) |
| struct timeval timeval_from_unix_time | ( | UnixTime * | ut | ) |
| gint64 unix_time_diff_in_msec | ( | const UnixTime * | a, |
| const UnixTime * | b | ||
| ) |
| gint64 unix_time_diff_in_seconds | ( | const UnixTime * | a, |
| const UnixTime * | b | ||
| ) |
| gboolean unix_time_eq | ( | const UnixTime * | a, |
| const UnixTime * | b | ||
| ) |
| void unix_time_fix_timezone | ( | UnixTime * | self, |
| gint | new_gmtoff | ||
| ) |
| gboolean unix_time_fix_timezone_assuming_the_time_matches_real_time | ( | UnixTime * | self | ) |
| void unix_time_fix_timezone_with_tzinfo | ( | UnixTime * | self, |
| TimeZoneInfo * | tzinfo | ||
| ) |
| UnixTime unix_time_from_unix_epoch | ( | guint64 | unix_epoch | ) |
| void unix_time_set_now | ( | UnixTime * | self | ) |
| void unix_time_set_timezone | ( | UnixTime * | self, |
| gint | new_gmtoff | ||
| ) |
| void unix_time_set_timezone_with_tzinfo | ( | UnixTime * | self, |
| TimeZoneInfo * | tzinfo | ||
| ) |
| guint64 unix_time_to_unix_epoch | ( | const UnixTime | ut | ) |
| void unix_time_unset | ( | UnixTime * | self | ) |