tstamp.h File Reference

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

Include dependency graph for tstamp.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.


class  timestamp
 Timestamp object. More...


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(), 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 Mon Jul 12 12:08:29 2004 for rvm by doxygen 1.3.6