#include <sys/types.h>
#include <time.h>
#include "asserts.h"
#include "types.h"
Go to the source code of this file.
Classes | |
class | timestamp |
Timestamp object. More... | |
Functions | |
bool | is_timestamp (const std::string &a_s) |
Return true if the string is a valid timestamp. | |
const timestamp | null_timestamp (0, 1, 1, 0, 0, 0) |
A null timestamp. | |
const timestamp | min_timestamp (null_timestamp) |
The minimum timestamp value. | |
const timestamp | max_timestamp (9999, 12, 31, 23, 59, 59) |
The maximum timestamp value. |
bool is_timestamp | ( | const std::string & | a_s | ) |
Return true if the string is a valid timestamp.
Definition at line 502 of file tstamp.cc.
References TRY_nomem.
Referenced by timestamp::assign(), catalog_manager::catalog(), vault_manager::get_archive_list(), and job_archiver::mf_do_chores().