tstamp.h File Reference

#include <sys/types.h>
#include <time.h>
#include "asserts.h"
#include "types.h"

Include dependency graph for tstamp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool is_timestamp (const std::string &a_s)
 Return true if the string is a valid timestamp.

Variables

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.


Function Documentation

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().


Variable Documentation

const timestamp max_timestamp(9999, 12, 31, 23, 59, 59)
 

The maximum timestamp value.

const timestamp min_timestamp(null_timestamp)
 

The minimum timestamp value.

const timestamp null_timestamp(0, 1, 1, 0, 0, 0)
 

A null timestamp.


Generated on Fri Jun 23 16:54:26 2006 for rvm by  doxygen 1.4.2