#include "config.h"
#include <iostream>
#include <iomanip>
#include <string>
#include <cassert>
#include <sys/types.h>
#include "asserts.h"
#include "error.h"
#include "estring.h"
#include "tstamp.h"
Go to the source code of this file.
Functions | |
void | test1 (void) |
void | test2 (void) |
void | test3 (void) |
int | main (int argc, char const *argv[]) |
int main | ( | int | argc, | |
char const * | argv[] | |||
) |
Definition at line 222 of file test-tstamp.cc.
References err_unknown, test1(), test2(), and test3().
void test1 | ( | void | ) |
Definition at line 20 of file test-tstamp.cc.
References estring::align(), timestamp::day(), estring::fmt_str(), timestamp::hour(), estring::left_fillchar(), timestamp::minute(), timestamp::month(), timestamp::resolution_second, estring::right, timestamp::second(), timestamp::str(), estring::width(), and timestamp::year().
void test2 | ( | void | ) |
Definition at line 72 of file test-tstamp.cc.
References timestamp::day(), timestamp::hour(), timestamp::minute(), timestamp::month(), timestamp::second(), timestamp::set(), and timestamp::year().
void test3 | ( | void | ) |
Definition at line 102 of file test-tstamp.cc.
References timestamp::assign(), timestamp::day(), timestamp::hour(), timestamp::minute(), timestamp::month(), timestamp::resolution(), timestamp::resolution_day, timestamp::resolution_hour, timestamp::resolution_minute, timestamp::resolution_month, timestamp::resolution_second, timestamp::resolution_year, timestamp::second(), and timestamp::year().