tstamp.h File Reference

#include <sys/types.h>
#include <time.h>
#include "asserts.h"
#include "types.h"
Include dependency graph for tstamp.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.

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

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

A null timestamp.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Sep 30 14:09:20 2010 for rvm by  doxygen 1.6.1