#include "timeutils/format.h"#include "timeutils/cache.h"#include "timeutils/names.h"#include "timeutils/conv.h"#include "str-format.h"
Functions | |
| void | append_format_zone_info (GString *target, glong gmtoff) |
| void | append_format_unix_time (const UnixTime *ut, GString *target, gint ts_format, glong zone_offset, gint frac_digits) |
| void | format_unix_time (const UnixTime *stamp, GString *target, gint ts_format, glong zone_offset, gint frac_digits) |
| void | append_format_wall_clock_time (const WallClockTime *wct, GString *target, gint ts_format, gint frac_digits) |
| void append_format_unix_time | ( | const UnixTime * | ut, |
| GString * | target, | ||
| gint | ts_format, | ||
| glong | zone_offset, | ||
| gint | frac_digits | ||
| ) |
| void append_format_wall_clock_time | ( | const WallClockTime * | wct, |
| GString * | target, | ||
| gint | ts_format, | ||
| gint | frac_digits | ||
| ) |
unix_time_format: @stamp: Timestamp to format @target: Target storage for formatted timestamp @ts_format: Specifies basic timestamp format (TS_FMT_BSD, TS_FMT_ISO) @zone_offset: Specifies custom zone offset if @tz_convert == TZ_CNV_CUSTOM
Emits the formatted version of @stamp into @target as specified by @ts_format and @tz_convert.
| void append_format_zone_info | ( | GString * | target, |
| glong | gmtoff | ||
| ) |
| void format_unix_time | ( | const UnixTime * | stamp, |
| GString * | target, | ||
| gint | ts_format, | ||
| glong | zone_offset, | ||
| gint | frac_digits | ||
| ) |